1
0
mirror of https://github.com/bitwarden/web synced 2025-12-23 19:53:16 +00:00

cannot create item in collection.

set collection after share.
This commit is contained in:
Kyle Spearrin
2018-03-24 20:44:51 -04:00
parent 6282fabf98
commit 5fbc09b135
3 changed files with 11 additions and 4 deletions

View File

@@ -309,8 +309,9 @@
}
});
modal.result.then(function (orgId) {
cipher.organizationId = orgId;
modal.result.then(function (returned) {
cipher.organizationId = returned.orgId;
cipher.collectionIds = returned.collectionIds || [];
});
};