fix: ability option key.

This commit is contained in:
elforjani13
2021-11-27 20:23:40 +02:00
parent 68227b81e8
commit 346696f673
6 changed files with 34 additions and 22 deletions

View File

@@ -80,11 +80,13 @@ function PaymentReceiveActionsBar({
/>
<NavbarDivider />
</Can>
<MoreMenuItems
payload={{
onNotifyViaSMS: handleNotifyViaSMS,
}}
/>
<Can I={PaymentReceiveAction.NotifyBySms} a={AbilitySubject.PaymentReceive}>
<MoreMenuItems
payload={{
onNotifyViaSMS: handleNotifyViaSMS,
}}
/>
</Can>
</NavbarGroup>
</DashboardActionsBar>
);