1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

fix null ref

This commit is contained in:
Kyle Spearrin 2017-11-22 12:29:30 -05:00
parent b0c1b7b683
commit 2f13449cb6

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; }
} }
}); });