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 @@ + + + +