mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-24 13:38:48 +02: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