diff --git a/app/srv/ws/sync/entity/user.ts b/app/srv/ws/sync/entity/user.ts index ea6f573f..9643754f 100644 --- a/app/srv/ws/sync/entity/user.ts +++ b/app/srv/ws/sync/entity/user.ts @@ -79,7 +79,10 @@ export const user = { if (cid && !this.comps[cid]) { this.comps[cid] = new Set(); } - this.comps[cid].add(found.comp_id); + + if (cid) { + this.comps[cid].add(found.comp_id); + } } }, },