Only allow dns setup with subdomain if enterprise query argument is provided

This commit is contained in:
Johannes Zellner
2017-10-04 22:22:23 +02:00
parent c3d7d867be
commit f437a1f48c
2 changed files with 3 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ app.controller('SetupDNSController', ['$scope', '$http', 'Client', function ($sc
$scope.showDNSSetup = false;
$scope.instanceId = '';
$scope.explicitZone = search.zone || '';
$scope.isEnterprise = !!search.enterprise;
$scope.isDomain = false;
$scope.isSubdomain = false;