fix:#15 linted format and typ fix

This commit is contained in:
masterelmar
2023-11-20 11:50:46 +01:00
parent e8e7c6149a
commit ab25df81c1
13 changed files with 219 additions and 137 deletions

View File

@ -13,8 +13,10 @@ const moduleStore = defineStore("moduleStore", {
this.modules.delete(module.uuid);
},
hasModule(module: Module): boolean {
return this.modules.has(module.uuid) &&
(this.modules.get(module.uuid)?.isEqual(module) ?? false);
return (
this.modules.has(module.uuid) &&
(this.modules.get(module.uuid)?.isEqual(module) ?? false)
);
},
removeAllModules() {
this.modules.clear();