From b75bd5ae735a7392fbe6c90b34b270607c81a103 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 1 Sep 2026 11:20:40 +0300 Subject: [PATCH] update extremes AFTER insert --- src/stores/timelines.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/stores/timelines.js b/src/stores/timelines.js index e47da2119..8d69139bc 100644 --- a/src/stores/timelines.js +++ b/src/stores/timelines.js @@ -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, {