From ef50eb3e64cc498efaffc0bf304fad0872fe0fe1 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 7 Nov 2022 00:31:47 -0800 Subject: [PATCH] fallback, .10 --- package.json | 2 +- packages/client/src/ui/universal.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 58482a94c1..a915565d91 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.119.0-calc.9.1", + "version": "12.119.0-calc.10", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/ui/universal.vue b/packages/client/src/ui/universal.vue index e141126d7a..8f618c6431 100644 --- a/packages/client/src/ui/universal.vue +++ b/packages/client/src/ui/universal.vue @@ -138,7 +138,7 @@ mainRouter.on('change', () => { console.log(routerState); const bottomButtons = ['index', 'notifications', 'messaging']; bottomButtons.forEach(i => { - if (routerState?.includes(i)) { + if (routerState?.includes(i) || window.location.href.includes(i)) { buttonAnimIndex.value = bottomButtons.findIndex(j => j.includes(i)); } });