Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/app
diff options
context:
space:
mode:
Diffstat (limited to 'js/app')
-rw-r--r--js/app/controllers/edit_credential.js2
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) {