add unassign kebab on row
This commit is contained in:
parent
e3b51d3645
commit
4e45bc2a35
1 changed files with 10 additions and 0 deletions
|
@ -220,6 +220,16 @@ export const RoleMapping = ({
|
||||||
</ToolbarItem>
|
</ToolbarItem>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
actions={[
|
||||||
|
{
|
||||||
|
title: t("unAssignRole"),
|
||||||
|
onRowClick: async (role) => {
|
||||||
|
setSelected([role]);
|
||||||
|
toggleDeleteDialog();
|
||||||
|
return false;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
]}
|
||||||
columns={[
|
columns={[
|
||||||
{
|
{
|
||||||
name: "role.name",
|
name: "role.name",
|
||||||
|
|
Loading…
Reference in a new issue