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

@@ -90,11 +90,13 @@ function EstimateDetailActionsBar({
/>
<NavbarDivider />
</Can>
<MoreMenuItems
payload={{
onNotifyViaSMS: handleNotifyViaSMS,
}}
/>
<Can I={SaleEstimateAction.NotifyBySms} a={AbilitySubject.Estimate}>
<MoreMenuItems
payload={{
onNotifyViaSMS: handleNotifyViaSMS,
}}
/>
</Can>
</NavbarGroup>
</DashboardActionsBar>
);