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

Load timeline once on creation.

parent 3bb2e91d
Branches
Tags
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.
Please register or to comment