Skip to content
Snippets Groups Projects
Commit 9a53d52e authored by Jo De Boeck's avatar Jo De Boeck :headphones:
Browse files

Fix openening cloudspace create

parent aecaf805
Branches release1.7.2
Tags v1.7.2
No related merge requests found
......@@ -9,7 +9,7 @@
function CloudSpaceNavigatorController($scope, $modal, LocationsService, CloudSpace, Account,
LoadingDialog, $timeout, $ErrorResponseAlert, $window) {
$scope.isCollapsed = true;
$scope.locations = {};
$scope.locations = [];
$scope.noAccount = false;
$scope.AccountCloudSpaceHierarchy = undefined;
$scope.createNewCloudSpace = createNewCloudSpace;
......@@ -18,7 +18,7 @@
$scope.$watch('cloudspaces + accounts', cloudspacesAndAccounts);
// Initialization: Functions invokation logic
listLocationsAndAccounts();
$scope.$watch('currentUser', listLocationsAndAccounts);
// Functions
function listLocationsAndAccounts() {
......@@ -122,7 +122,6 @@
$scope.cancel = function() {
$modalInstance.dismiss('cancel');
};
$scope.selectedLocation = $scope.locations[0].locationCode;
$scope.changeLocation = function(location) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment