From d5fbd8ca0c3c11893668b41456d13203cc95a09f Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sat, 12 Nov 2022 13:27:07 -0800 Subject: [PATCH] fix pages index --- package.json | 2 +- packages/client/src/pages/messaging/index.vue | 2 ++ packages/client/src/pages/pages.vue | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fe53a2c219..d3a4aae3d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.119.0-calc.12.8", + "version": "12.119.0-calc.12.9", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/messaging/index.vue b/packages/client/src/pages/messaging/index.vue index 965ebb0b66..8de089a153 100644 --- a/packages/client/src/pages/messaging/index.vue +++ b/packages/client/src/pages/messaging/index.vue @@ -169,6 +169,8 @@ function syncSlide(index) { } onMounted(() => { + syncSlide(tabs.indexOf(swiperRef.activeIndex)); + connection = markRaw(stream.useChannel('messagingIndex')); connection.on('message', onMessage); diff --git a/packages/client/src/pages/pages.vue b/packages/client/src/pages/pages.vue index 248b00bbc7..13e8c3651e 100644 --- a/packages/client/src/pages/pages.vue +++ b/packages/client/src/pages/pages.vue @@ -39,7 +39,7 @@