Pre-select app domain by default in redirection dropdown
This commit is contained in:
@@ -271,7 +271,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
addAlternateDomain: function (event) {
|
||||
event.preventDefault();
|
||||
$scope.location.alternateDomains.push({
|
||||
domain: $scope.domains[0],
|
||||
domain: $scope.domains.filter(function (d) { return d.domain === $scope.app.domain; })[0], // pre-select app's domain by default
|
||||
subdomain: ''
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user