From 4478468256777c8e7510038bdcb4f9c106f49481 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 3 Apr 2023 16:02:09 -0700 Subject: [PATCH] fix: :bug: go to last timeline selected --- packages/client/src/pages/timeline.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index 5a5e51ec6..9c326ad05 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -336,7 +336,7 @@ function syncSlide(index) { } onMounted(() => { - syncSlide(timelines.indexOf(swiperRef.activeIndex)); + syncSlide(timelines.indexOf(defaultStore.state.tl?.src || swiperRef.activeIndex)); });