Minor improvements

This commit is contained in:
2024-09-28 02:17:33 +02:00
parent 104e9e46fb
commit 1105a53feb
6 changed files with 54 additions and 45 deletions

View File

@ -37,9 +37,13 @@ export const useZoneStore = defineStore('zone', {
removeCharacter(character_id: number) {
this.characters = this.characters.filter((char) => char.id !== character_id)
},
setCharacterLoaded(loaded: boolean) {
this.characterLoaded = loaded
},
reset() {
this.zone = null
this.characters = []
this.characters = [],
this.characterLoaded = false
}
}
})