restore clearTimeline

This commit is contained in:
Henry Jameson 2026-08-21 00:12:14 +03:00
commit a9c0edc92e

View file

@ -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) {