BIG-225 Add menu divider before delete on contextMenu.

This commit is contained in:
elforjani13
2021-12-30 21:54:32 +02:00
parent b2c08d5645
commit 40ae1aeb52
22 changed files with 30 additions and 11 deletions

View File

@@ -67,6 +67,7 @@ export function ActionsMenu({
</If>
</Can>
<Can I={VendorAction.Delete} a={AbilitySubject.Vendor}>
<MenuDivider />
<MenuItem
icon={<Icon icon="trash-16" iconSize={16} />}
text={intl.get('delete_vendor')}