Merge pull request #64 from ammendonca/KEYCLOAK-94
KEYCLOAK-94: Move location change to happen only after Realm.query happe...
This commit is contained in:
commit
e308b32cbb
1 changed files with 2 additions and 2 deletions
|
@ -103,10 +103,10 @@ module.controller('RealmDetailCtrl', function($scope, Current, Realm, realm, $ht
|
|||
Current.realm = Current.realms[i];
|
||||
}
|
||||
}
|
||||
});
|
||||
$location.url("/realms/" + id);
|
||||
Notifications.success("Created realm");
|
||||
});
|
||||
});
|
||||
} else {
|
||||
console.log('updating realm...');
|
||||
$scope.changed = false;
|
||||
|
|
Loading…
Reference in a new issue