console log

This commit is contained in:
ThatOneCalculator 2022-11-06 23:57:58 -08:00
parent 33aea5b45a
commit 2fc35d931b
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "calckey", "name": "calckey",
"version": "12.119.0-calc.9.5", "version": "12.119.0-calc.9-rc.10",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -107,10 +107,11 @@ window.addEventListener('resize', () => {
isMobile.value = deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD; isMobile.value = deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD;
}); });
let buttonAnimIndex: number; let buttonAnimIndex = 0;
watch($$(mainRouter.currentRoute.value.name), () => { watch($$(mainRouter.currentRoute.value.name), () => {
let routerState = mainRouter.currentRoute.value.name; let routerState = mainRouter.currentRoute.value.name;
console.log(routerState);
const bottomButtons = ['index', 'notifications', 'messaging']; const bottomButtons = ['index', 'notifications', 'messaging'];
bottomButtons.forEach(i => { bottomButtons.forEach(i => {
if (routerState.includes(i)) { if (routerState.includes(i)) {