fix null ref

This commit is contained in:
Kyle Spearrin 2017-11-22 12:29:30 -05:00
parent b0c1b7b683
commit 2f13449cb6
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@
templateUrl: 'app/vault/views/vaultAddCipher.html', templateUrl: 'app/vault/views/vaultAddCipher.html',
controller: 'vaultAddCipherController', controller: 'vaultAddCipherController',
resolve: { resolve: {
selectedFolder: function () { return grouping.folder ? grouping : null; }, selectedFolder: function () { return grouping && grouping.folder ? grouping : null; },
checkedFavorite: function () { return favorite; } checkedFavorite: function () { return favorite; }
} }
}); });