add unassign kebab on row

This commit is contained in:
Erik Jan de Wit 2021-06-22 07:52:13 +02:00
parent e3b51d3645
commit 4e45bc2a35

View file

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