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
+1 -2
View File
@@ -155,8 +155,7 @@
<div class="form-group">
<label for="storageQuota">
<input id="storageQuota" type="checkbox" ng-model="mailboxes.edit.storageQuotaEnabled">
{{ 'email.editMailboxDialog.enableStorageQuota' | tr }}: <b ng-hide="!mailboxes.edit.storageQuotaEnabled">{{ mailboxes.edit.storageQuota | prettyByteSize }}</b>
<b ng-hide="mailboxes.edit.storageQuotaEnabled">{{ 'mailboxes.edit.unlimitedStorageQuota' | tr }}</b>
{{ 'email.editMailboxDialog.enableStorageQuota' | tr }} <b ng-hide="!mailboxes.edit.storageQuotaEnabled">: {{ mailboxes.edit.storageQuota | prettyByteSize }}</b>
</input>
</label>
<div style="padding: 0 10px;">
-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);
});
}
};