Timeline status adding fixes.

Don't show new statuses immediately if we already have something in there.
This commit is contained in:
Roger Braun 2016-11-24 18:31:18 +01:00
parent ce0071d6e0
commit 4f0155c5eb
1 changed files with 2 additions and 1 deletions

View File

@ -12,12 +12,13 @@ const Timeline = {
created () { created () {
const store = this.$store const store = this.$store
const credentials = store.state.users.currentUser.credentials const credentials = store.state.users.currentUser.credentials
const showImmediately = this.timeline.visibleStatuses.length === 0
timelineFetcher.fetchAndUpdate({ timelineFetcher.fetchAndUpdate({
store, store,
credentials, credentials,
timeline: this.timelineName, timeline: this.timelineName,
showImmediately: true showImmediately
}) })
}, },
methods: { methods: {