feat: implement some TODOs

This commit is contained in:
2026-01-30 23:22:21 +01:00
parent 776783237b
commit 6e1a9a4728
6 changed files with 7 additions and 22 deletions

View File

@@ -72,8 +72,7 @@ export const useAchievementsStore = defineStore("achievements", () => {
};
return {
// TODO: rename to unlocked
achievements: computed(() => storage.value.unlocked),
unlocked: computed(() => storage.value.unlocked),
advancement: computed(() => storage.value.advancement),
allObtained: computed(
() => storage.value.unlocked.length === ACHIEVEMENTS.length,