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,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