update extremes AFTER insert
This commit is contained in:
parent
725b2f5387
commit
b75bd5ae73
1 changed files with 4 additions and 4 deletions
|
|
@ -279,10 +279,6 @@ export const useTimelinesStore = defineStore('timelines', {
|
|||
return
|
||||
}
|
||||
|
||||
if (!noIdUpdate) {
|
||||
this.updateTimelineExtremes(timeline, pagination)
|
||||
}
|
||||
|
||||
const filtered = statuses.filter((id) => !timeline.statusIds.has(id))
|
||||
if (older) {
|
||||
timeline.order.push(...filtered)
|
||||
|
|
@ -310,6 +306,10 @@ export const useTimelinesStore = defineStore('timelines', {
|
|||
}
|
||||
}
|
||||
})
|
||||
|
||||
if (!noIdUpdate) {
|
||||
this.updateTimelineExtremes(timeline, pagination)
|
||||
}
|
||||
},
|
||||
onStreamMessage(timelineName, argument, event) {
|
||||
this.addStatusesToTimeline(timelineName, argument, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue