diff --git a/dashboard/src/views/email.html b/dashboard/src/views/email.html index a6e13530a..d58d9c290 100644 --- a/dashboard/src/views/email.html +++ b/dashboard/src/views/email.html @@ -157,9 +157,10 @@ {{ 'email.editMailboxDialog.enableStorageQuota' | tr }} : {{ mailboxes.edit.storageQuota | prettyDecimalSize }} -
- -
+ + + +
diff --git a/dashboard/src/views/email.js b/dashboard/src/views/email.js index 22278ba3c..5406c0536 100644 --- a/dashboard/src/views/email.js +++ b/dashboard/src/views/email.js @@ -42,7 +42,7 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio $scope.domain = null; $scope.adminDomain = null; $scope.mailUsage = null; - $scope.storageQuotaTicks = [ 500*1000*1000, 1*1000*1000*1000, 15*1000*1000*1000, 50*1000*1000*1000, 100*1000*1000*1000 ]; + $scope.storageQuotaTicks = [ 500*1000*1000, 5*1000*1000*1000, 15*1000*1000*1000, 50*1000*1000*1000, 100*1000*1000*1000 ]; $scope.expectedDnsRecords = { mx: { }, @@ -639,7 +639,7 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio ownerType: $scope.mailboxes.edit.owner.type, active: $scope.mailboxes.edit.active, enablePop3: $scope.mailboxes.edit.enablePop3, - storageQuota: $scope.mailboxes.edit.storageQuotaEnabled ? $scope.mailboxes.edit.storageQuota : 0, + storageQuota: $scope.mailboxes.edit.storageQuotaEnabled ? parseInt($scope.mailboxes.edit.storageQuota) : 0, messagesQuota: 0 };