parent
23178d8c66
commit
a74921b914
1 changed files with 3 additions and 1 deletions
|
@ -153,6 +153,7 @@ export const AddRoleMappingModal = ({
|
||||||
|
|
||||||
const realmRoles = availableRoles.map((role) => {
|
const realmRoles = availableRoles.map((role) => {
|
||||||
return {
|
return {
|
||||||
|
id: role.id,
|
||||||
role,
|
role,
|
||||||
client: undefined,
|
client: undefined,
|
||||||
};
|
};
|
||||||
|
@ -191,6 +192,7 @@ export const AddRoleMappingModal = ({
|
||||||
|
|
||||||
return clientAvailableRoles.map((role) => {
|
return clientAvailableRoles.map((role) => {
|
||||||
return {
|
return {
|
||||||
|
id: role.id,
|
||||||
role,
|
role,
|
||||||
client,
|
client,
|
||||||
};
|
};
|
||||||
|
@ -231,7 +233,7 @@ export const AddRoleMappingModal = ({
|
||||||
<Button
|
<Button
|
||||||
data-testid="assign"
|
data-testid="assign"
|
||||||
key="confirm"
|
key="confirm"
|
||||||
isDisabled={selectedRows?.length === 0}
|
isDisabled={selectedRows.length === 0}
|
||||||
variant="primary"
|
variant="primary"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
onAssign(selectedRows);
|
onAssign(selectedRows);
|
||||||
|
|
Loading…
Reference in a new issue