diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 68e75972..7bba3a10 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -33,6 +33,7 @@ module.exports = { fallback: [path.join(__dirname, '../node_modules')] }, module: { + noParse: /node_modules\/localforage\/dist\/localforage.js/, preLoaders: [ { test: /\.vue$/, diff --git a/src/components/mentions/mentions.js b/src/components/mentions/mentions.js index 46a1c63e..841d5aa4 100644 --- a/src/components/mentions/mentions.js +++ b/src/components/mentions/mentions.js @@ -2,25 +2,12 @@ import Timeline from '../timeline/timeline.vue' const Mentions = { computed: { - username () { - return this.$route.params.username - }, timeline () { return this.$store.state.statuses.timelines.mentions } }, components: { Timeline - }, - created () { - this.$store.state.api.backendInteractor.fetchMentions({username: this.username}) - .then((mentions) => { - this.$store.dispatch('addNewStatuses', { - statuses: mentions, - timeline: 'mentions', - showImmediately: true - }) - }) } } diff --git a/src/components/nav_panel/nav_panel.vue b/src/components/nav_panel/nav_panel.vue index 1d96f4d6..b62b4148 100644 --- a/src/components/nav_panel/nav_panel.vue +++ b/src/components/nav_panel/nav_panel.vue @@ -1,7 +1,7 @@