mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-23 02:31:26 +01:00
cleanup domain add/edit submission
This commit is contained in:
parent
828b5d8703
commit
a3150d8505
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user