mailbox: remove unlimited quota string

This commit is contained in:
Girish Ramakrishnan
2022-09-28 22:34:28 +02:00
parent 3cd3740f92
commit 2a55128129
6 changed files with 28 additions and 32 deletions
-4
View File
@@ -96,13 +96,9 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
}, function () {
$scope.catchall.availableMailboxes = allMailboxes;
console.log($scope.domain.mailConfig.catchAll);
$scope.catchall.mailboxes = $scope.domain.mailConfig.catchAll.map(function (address) {
return allMailboxes.find(function (m) { return m.display === address; });
}).filter(function (m) { return !!m; }); // remove not found addresses
console.log($scope.catchall.mailboxes);
});
}
};