dnsConfig is used incorrectly

This commit is contained in:
Girish Ramakrishnan
2018-05-28 00:28:53 -07:00
parent 7ce045ae51
commit 8da07a16b9
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
</div>
</div>
<p class="text-center" ng-show="appConfigure.location && dnsConfig.provider === 'manual' && !dnsConfig.wildcard">
<p class="text-center" ng-show="appConfigure.location && appConfigure.domain.provider === 'manual' && !appConfigure.domain.config.wildcard">
<b>Add an A record manually for {{ appConfigure.location }} to this Cloudron's public IP</b>
<br>
</p>
+1 -1
View File
@@ -35,7 +35,7 @@
</div>
</div>
<p class="text-center" ng-show="appInstall.location && dnsConfig.provider === 'manual' && !dnsConfig.wildcard">
<p class="text-center" ng-show="appInstall.location && appInstall.domain.provider === 'manual' && !appInstall.domain.config.wildcard">
<b>Add an A record manually for {{ appInstall.location }} to this Cloudron's public IP</b>
<br>
</p>
-1
View File
@@ -4,7 +4,6 @@ angular.module('Application').controller('DomainsController', ['$scope', '$locat
Client.onReady(function () { if (!Client.hasScope('domains')) $location.path('/'); });
$scope.config = Client.getConfig();
$scope.dnsConfig = null;
$scope.domains = [];
$scope.ready = false;
$scope.tlsProvider = [