diff options
Diffstat (limited to 'js/app')
-rw-r--r-- | js/app/controllers/edit_credential.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |