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

@@ -271,6 +271,7 @@ function CashflowAccountContextMenu({
</If>
</Can>
<Can I={CashflowAction.Delete} a={AbilitySubject.Cashflow}>
<MenuDivider />
<MenuItem
text={intl.get('delete_account')}
icon={<Icon icon="trash-16" iconSize={16} />}