Realm roles: fixes bug that prevents fields from being populated (#1839)
* realm role fields are now being populated * remove setTimeout * remove unnecessary conditional
This commit is contained in:
parent
919d07c90b
commit
f489e186a1
1 changed files with 3 additions and 3 deletions
|
@ -90,6 +90,8 @@ export default function RealmRoleTabs() {
|
|||
throw new Error(t("common:notFound"));
|
||||
}
|
||||
|
||||
setRealm(realm);
|
||||
|
||||
if (role) {
|
||||
const convertedRole = convert(role);
|
||||
setRole(convertedRole);
|
||||
|
@ -97,10 +99,8 @@ export default function RealmRoleTabs() {
|
|||
setValue(entry[0], entry[1]);
|
||||
});
|
||||
}
|
||||
|
||||
setRealm(realm);
|
||||
},
|
||||
[key]
|
||||
[key, url]
|
||||
);
|
||||
|
||||
const save = async () => {
|
||||
|
|
Loading…
Reference in a new issue