Update the webui when dns config changed

This commit is contained in:
Johannes
2016-10-25 16:21:37 +02:00
parent e1be8659fa
commit fc09cf2205

View File

@@ -144,6 +144,13 @@ angular.module('Application').controller('CertsController', ['$scope', '$locatio
}
$scope.dnsCredentials.busy = false;
// reload the dns config
Client.getDnsConfig(function (error, result) {
if (error) return console.error(error);
$scope.dnsConfig = result;
});
});
};