forked from AkkomaGang/akkoma-fe
Timeline status adding fixes.
Don't show new statuses immediately if we already have something in there.
This commit is contained in:
parent
ce0071d6e0
commit
4f0155c5eb
1 changed files with 2 additions and 1 deletions
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue