mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
cleanup domain add/edit submission
This commit is contained in:
@@ -51,6 +51,10 @@
|
||||
});
|
||||
|
||||
addEditModal.result.then(function (returnObj) {
|
||||
if (returnObj.domains) {
|
||||
returnObj.domains = returnObj.domains.split(' ').join('').split(',').join(', ');
|
||||
}
|
||||
|
||||
if (returnObj.index !== null) {
|
||||
$scope.equivalentDomains[returnObj.index] = returnObj.domains;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user