Show email UI even if domain is disabled

This way when a user tries to delete a domain, he can still clear
the mailboxes.

Fixes cloudron/box##610
This commit is contained in:
Girish Ramakrishnan
2019-01-31 12:24:27 -08:00
parent 6eabf73ece
commit 5234f50453
2 changed files with 20 additions and 15 deletions

View File

@@ -57,7 +57,7 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
Client.setCatchallAddresses($scope.selectedDomain.domain, addresses, function (error) {
if (error) console.error('Unable to add catchall address.', error);
$scope.catchall.busy = false;
$timeout(function () { $scope.catchall.busy = false; }, 2000); // otherwise, it's too fast
});
},