From 22fe2fc7544e3a1706e2e7479d513391ba6d760c Mon Sep 17 00:00:00 2001 From: binsky Date: Tue, 16 Mar 2021 22:08:39 +0100 Subject: fix default icon view for credentials --- js/app/controllers/credential.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/app') diff --git a/js/app/controllers/credential.js b/js/app/controllers/credential.js index 9d84f33c..4cff6ec1 100644 --- a/js/app/controllers/credential.js +++ b/js/app/controllers/credential.js @@ -229,6 +229,7 @@ $scope.addCredential = function () { var new_credential = CredentialService.newCredential(); + new_credential.icon = null; var enc_c = CredentialService.encryptCredential(new_credential); SettingsService.setSetting('edit_credential', enc_c); $location.path('/vault/' + $scope.active_vault.guid + '/new'); -- cgit v1.2.3