diff --git a/package.json b/package.json index 5d47846c9..b42e7670c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.119.0-calc.12.17", + "version": "12.119.0-calc.13-rc.1", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/account.ts b/packages/client/src/account.ts index 8cddd024f..eefcc9a10 100644 --- a/packages/client/src/account.ts +++ b/packages/client/src/account.ts @@ -221,7 +221,12 @@ export async function openAccountMenu(opts: { icon: 'ph-users-bold ph-lg', text: i18n.ts.manageAccounts, to: '/settings/accounts', - }]], ev.currentTarget ?? ev.target, { + },{ + type: 'button', + icon: 'ph-sign-out-bold ph-lg', + text: i18n.ts.logout, + action: () => { signout(); }, + },]], ev.currentTarget ?? ev.target, { align: 'left', }); } else { diff --git a/packages/client/src/pages/user/index.vue b/packages/client/src/pages/user/index.vue index 37b833fd8..205937537 100644 --- a/packages/client/src/pages/user/index.vue +++ b/packages/client/src/pages/user/index.vue @@ -144,6 +144,10 @@ function onSlideChange() { function syncSlide(index) { swiperRef.slideTo(index); } + +onMounted(() => { + syncSlide(tabs.indexOf(swiperRef.activeIndex)); +});