rename location to subdomain
This commit is contained in:
@@ -93,7 +93,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$tran
|
||||
error: {},
|
||||
app: {},
|
||||
needsOverwrite: false,
|
||||
location: '',
|
||||
subdomain: '',
|
||||
domain: null,
|
||||
portBindings: {},
|
||||
mediaLinks: [],
|
||||
@@ -116,7 +116,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$tran
|
||||
$scope.appInstall.app = {};
|
||||
$scope.appInstall.error = {};
|
||||
$scope.appInstall.needsOverwrite = false;
|
||||
$scope.appInstall.location = '';
|
||||
$scope.appInstall.subdomain = '';
|
||||
$scope.appInstall.domain = null;
|
||||
$scope.appInstall.portBindings = {};
|
||||
$scope.appInstall.state = 'appInfo';
|
||||
@@ -222,7 +222,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$tran
|
||||
|
||||
var data = {
|
||||
overwriteDns: $scope.appInstall.needsOverwrite,
|
||||
location: $scope.appInstall.location || '',
|
||||
subdomain: $scope.appInstall.subdomain || '',
|
||||
domain: $scope.appInstall.domain.domain,
|
||||
portBindings: finalPortBindings,
|
||||
accessRestriction: finalAccessRestriction,
|
||||
@@ -231,7 +231,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$tran
|
||||
sso: !$scope.appInstall.optionalSso ? undefined : ($scope.appInstall.accessRestrictionOption !== 'nosso')
|
||||
};
|
||||
|
||||
Client.checkDNSRecords(data.domain, data.location, function (error, result) {
|
||||
Client.checkDNSRecords(data.domain, data.subdomain, function (error, result) {
|
||||
if (error) return Client.error(error);
|
||||
|
||||
if (!data.overwriteDns) {
|
||||
@@ -405,7 +405,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$tran
|
||||
if (app.manifest.tags.join().toUpperCase().indexOf(token) !== -1) return true;
|
||||
if (app.manifest.description.toUpperCase().indexOf(token) !== -1) return true;
|
||||
return false;
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user