1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-25 12:43:36 +00:00

resolve issues with id on api calls

This commit is contained in:
Kyle Spearrin
2017-05-10 14:20:45 -04:00
parent ea24d72f01
commit e03d4d52c4
4 changed files with 29 additions and 19 deletions

View File

@@ -75,9 +75,9 @@
if ($scope.useGroups) {
collection.groupIds = [];
for (var id in $scope.selectedGroups) {
if ($scope.selectedGroups.hasOwnProperty(id)) {
collection.groupIds.push(id);
for (var groupId in $scope.selectedGroups) {
if ($scope.selectedGroups.hasOwnProperty(groupId)) {
collection.groupIds.push(groupId);
}
}
}