mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
populate the collection's external id when importing (#10114)
This commit is contained in:
@@ -31,7 +31,7 @@ export class Collection extends Domain {
|
|||||||
hidePasswords: null,
|
hidePasswords: null,
|
||||||
manage: null,
|
manage: null,
|
||||||
},
|
},
|
||||||
["id", "organizationId", "externalId", "readOnly", "hidePasswords", "manage"],
|
["id", "organizationId", "readOnly", "hidePasswords", "manage"],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ export class CollectionService implements CollectionServiceAbstraction {
|
|||||||
collection.id = model.id;
|
collection.id = model.id;
|
||||||
collection.organizationId = model.organizationId;
|
collection.organizationId = model.organizationId;
|
||||||
collection.readOnly = model.readOnly;
|
collection.readOnly = model.readOnly;
|
||||||
|
collection.externalId = model.externalId;
|
||||||
collection.name = await this.cryptoService.encrypt(model.name, key);
|
collection.name = await this.cryptoService.encrypt(model.name, key);
|
||||||
return collection;
|
return collection;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user