diff --git a/src/components/status/status.js b/src/components/status/status.js index d807b64ff..8230b0917 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -432,13 +432,13 @@ const Status = { return useInstanceCapabilitiesStore().editingAvailable }, quoteId() { - return this.status.quote_id + return this.mainStatus.quote_id }, quoteUrl() { - return this.status.quote_url + return this.mainStatus.quote_url }, quoteVisible() { - return this.status.quote_visible + return this.mainStatus.quote_visible }, quoteExpanded() { return !this.inQuote diff --git a/src/stores/timelines.js b/src/stores/timelines.js index df1c41a69..34fc57f79 100644 --- a/src/stores/timelines.js +++ b/src/stores/timelines.js @@ -149,6 +149,16 @@ export const useTimelinesStore = defineStore('timelines', { this[timelineName] = emptyTl(timelineName) }, + clearTimeline(timelineName) { + const timeline = this[timelineName] + + timeline.order = [] + timeline.statusIds = new Set() + timeline.visibleStatusIds = new Set() + timeline.newStatusCount = 0 + timeline.maxId = '' + timeline.minId = '' + }, activatePersistents() { TIMELINES.forEach((name) => { if (this[name].persistent) {