From e913f85a0a6f8e1bd5312d4f81a556769165eb97 Mon Sep 17 00:00:00 2001 From: a Date: Mon, 5 Aug 2024 15:58:47 -0500 Subject: [PATCH] noot --- package.json | 3 +- src/components/CharacterCard.vue | 2 +- src/pages/login.tsx | 91 ++++++++++++++++++++++++++++++++ 3 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 src/pages/login.tsx diff --git a/package.json b/package.json index bafe987..a6681c6 100644 --- a/package.json +++ b/package.json @@ -26,5 +26,6 @@ "typescript": "^4.5.4", "vite": "^2.9.9", "vue-tsc": "^0.34.7" - } + }, + "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" } diff --git a/src/components/CharacterCard.vue b/src/components/CharacterCard.vue index e297056..8732ec0 100644 --- a/src/components/CharacterCard.vue +++ b/src/components/CharacterCard.vue @@ -36,7 +36,7 @@ watch(invs.value,()=>{ const currentInv = invs.value.get(props.character) if(currentInv){ if(currentInv.galders){ - galders.value = currentInv.galders + galders.value = currentInv.galders || currentInv.money } items.value = Object.values(currentInv.items).length } diff --git a/src/pages/login.tsx b/src/pages/login.tsx new file mode 100644 index 0000000..dc3b544 --- /dev/null +++ b/src/pages/login.tsx @@ -0,0 +1,91 @@ + + + +