Skip to content
Snippets Groups Projects
Commit c9e235f8 authored by lain's avatar lain
Browse files

Load timeline once on creation.

parent 3bb2e91d
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,17 @@ const Timeline = {
components: {
Status
},
created () {
const store = this.$store
const credentials = store.state.users.currentUser.credentials
timelineFetcher.fetchAndUpdate({
store,
credentials,
timeline: this.timelineName,
showImmediately: true
})
},
methods: {
showNewStatuses () {
this.$store.commit('showNewStatuses', { timeline: this.timelineName })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment