Remove invalid dns config notification
The issue is that this value is never really updated unless the box code is restarted. Instead, we will fix it to check all domains periodically and send some email notification. Fixes cloudron/box#586
This commit is contained in:
@@ -71,13 +71,6 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
|
||||
};
|
||||
|
||||
function runConfigurationChecks() {
|
||||
// warn user if dns config is not working (the 'configuring' flag detects if configureWebadmin is 'active')
|
||||
if (!$scope.status.webadminStatus.configuring && !$scope.status.webadminStatus.dns) {
|
||||
var dnsActionScope = $scope.$new(true);
|
||||
dnsActionScope.action = '/#/domains';
|
||||
Client.notify('Invalid Domain Config', 'Unable to update DNS. Click here to update it.', true, 'error', dnsActionScope);
|
||||
}
|
||||
|
||||
if ($scope.config.update && $scope.config.update.box) {
|
||||
var updateActionScope = $scope.$new(true);
|
||||
updateActionScope.action = '/#/settings';
|
||||
|
||||
Reference in New Issue
Block a user