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