1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-08 04:33:38 +00:00

make id more explicit

This commit is contained in:
jaasen-livefront
2025-12-02 09:18:39 -08:00
parent a2b825d7e3
commit f4c9c27e84

View File

@@ -279,7 +279,7 @@ export abstract class BaseImporter {
const collection = new CollectionView({
name: f.name,
organizationId: this.organizationId,
id: (f.id as CollectionId) ?? null,
id: f.id && f.id !== "" ? (f.id as CollectionId) : null,
});
return collection;
});