mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2026-01-17 20:22:24 +01:00
15 refactor module selection to use store
This commit is contained in:
@@ -27,6 +27,9 @@ const moduleStore = defineStore("moduleStore", {
|
||||
this.modules.set(module.uuid, module);
|
||||
});
|
||||
},
|
||||
isEmpty(): boolean {
|
||||
return this.modules.size === 0;
|
||||
},
|
||||
countModules(): number {
|
||||
return this.modules.size;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user