This commit is contained in:
Rizky 2024-07-25 09:43:26 +07:00
parent 3075e127a3
commit 79fa536896
1 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,10 @@ export const user = {
if (cid && !this.comps[cid]) { if (cid && !this.comps[cid]) {
this.comps[cid] = new Set(); this.comps[cid] = new Set();
} }
this.comps[cid].add(found.comp_id);
if (cid) {
this.comps[cid].add(found.comp_id);
}
} }
}, },
}, },