KEYCLOAK-94: Move location change to happen only after Realm.query happens, so it has the data already in place when trying to load it.
This commit is contained in:
parent
1f78aa90d5
commit
c2f6d168a2
1 changed files with 2 additions and 2 deletions
|
@ -103,9 +103,9 @@ module.controller('RealmDetailCtrl', function($scope, Current, Realm, realm, $ht
|
|||
Current.realm = Current.realms[i];
|
||||
}
|
||||
}
|
||||
$location.url("/realms/" + id);
|
||||
Notifications.success("Created realm");
|
||||
});
|
||||
$location.url("/realms/" + id);
|
||||
Notifications.success("Created realm");
|
||||
});
|
||||
} else {
|
||||
console.log('updating realm...');
|
||||
|
|
Loading…
Reference in a new issue