From cba958c488576b57ecff0b53df9889624a593596 Mon Sep 17 00:00:00 2001 From: estromenko Date: Mon, 20 Sep 2021 22:40:47 +0300 Subject: Make all passwords invisible in vault info Signed-off-by: Eduard Stromenko --- js/app/controllers/edit_credential.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/app') diff --git a/js/app/controllers/edit_credential.js b/js/app/controllers/edit_credential.js index 64157534..73198624 100644 --- a/js/app/controllers/edit_credential.js +++ b/js/app/controllers/edit_credential.js @@ -311,7 +311,7 @@ } if ($scope.new_custom_field.label && $scope.new_custom_field.value) { - $scope.storedCredential.custom_fields.push(angular.copy($scope.new_custom_field)); + $scope.addCustomField(); } if ($scope.storedCredential.label === null || $scope.storedCredential.label.length === 0) { -- cgit v1.2.3