feat(settings/clock/alarm): implement (achievements)
This commit is contained in:
@@ -72,8 +72,12 @@ export const useAchievementsStore = defineStore("achievements", () => {
|
||||
};
|
||||
|
||||
return {
|
||||
// TODO: rename to unlocked
|
||||
achievements: computed(() => storage.value.unlocked),
|
||||
advancement: computed(() => storage.value.advancement),
|
||||
allObtained: computed(
|
||||
() => storage.value.unlocked.length === ACHIEVEMENTS.length,
|
||||
),
|
||||
unlock,
|
||||
reset,
|
||||
isUnlocked: computed(
|
||||
|
||||
Reference in New Issue
Block a user