From 2f13449cb65c304a7ed3bcaa1d9008d023568ebf Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 22 Nov 2017 12:29:30 -0500 Subject: [PATCH] fix null ref --- src/app/vault/vaultController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/vault/vaultController.js b/src/app/vault/vaultController.js index 8a92e72cfb..bbf0e7a7f8 100644 --- a/src/app/vault/vaultController.js +++ b/src/app/vault/vaultController.js @@ -199,7 +199,7 @@ templateUrl: 'app/vault/views/vaultAddCipher.html', controller: 'vaultAddCipherController', resolve: { - selectedFolder: function () { return grouping.folder ? grouping : null; }, + selectedFolder: function () { return grouping && grouping.folder ? grouping : null; }, checkedFavorite: function () { return favorite; } } });