This commit is contained in:
2023-06-26 09:41:19 +02:00
parent 56f8a40555
commit 36275fb9f3
3 changed files with 5 additions and 5 deletions

View File

@@ -217,7 +217,7 @@ export const ConcernementsStore = defineStore({
console.log(`openCloseConcernements id: ${id}`);
var state;
this.concernements.forEach((c, i) => {
state = id == c.id;
state = id === c.id;
this.concernements[i].opened = this.concernementsByID[c.id].opened = state;
if (state) {
this.opened = c;