aboutsummaryrefslogtreecommitdiff
path: root/src/components/public_timeline
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-02-16 17:49:11 +0100
committerRoger Braun <roger@rogerbraun.net>2017-02-16 17:49:11 +0100
commitf25ae61c5daf7e925fb38d1636a61b70a4dd2d1c (patch)
tree883faa9a3bf7999c1e290d140951e35c13ae45a2 /src/components/public_timeline
parent319af91a4762c7edab567048f1f44b5a26005d5b (diff)
parentce5b3d4c924d6e94b6fbde3c50fdb209e4ec1fab (diff)
Merge branch 'develop' into feature/hash-routed
Diffstat (limited to 'src/components/public_timeline')
-rw-r--r--src/components/public_timeline/public_timeline.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/public_timeline/public_timeline.js b/src/components/public_timeline/public_timeline.js
index cac422ec..9b866be8 100644
--- a/src/components/public_timeline/public_timeline.js
+++ b/src/components/public_timeline/public_timeline.js
@@ -5,7 +5,14 @@ const PublicTimeline = {
},
computed: {
timeline () { return this.$store.state.statuses.timelines.public }
+ },
+ created () {
+ this.$store.dispatch('startFetching', 'public')
+ },
+ destroyed () {
+ this.$store.dispatch('stopFetching', 'public')
}
+
}
export default PublicTimeline