1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

pull only writable collections when editing

This commit is contained in:
Kyle Spearrin
2017-08-30 15:58:51 -04:00
parent f019dc6575
commit 63033ca12d
4 changed files with 4 additions and 4 deletions

View File

@@ -39,7 +39,7 @@
return;
}
apiService.collections.listMe(function (response) {
apiService.collections.listMe({ writeOnly: true }, function (response) {
var collections = [];
for (var i = 0; i < response.Data.length; i++) {
if (response.Data[i].OrganizationId !== cipher.OrganizationId || response.Data[i].ReadOnly) {