fix: use DrawerActionsBar instead of DashboardActionsBar in drawer components

Replace DashboardActionsBar with DrawerActionsBar in all drawer action bars
for consistency with the design system:
- ContactDetailActionsBar
- CustomerDetailsActionsBar
- VendorCreditDetailActionsBar
- TaxRateDetailsContentActionsBar

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ahmed Bouhuolia
2026-02-12 23:19:16 +02:00
parent e0d9a56a29
commit 36cbb1eef5
4 changed files with 9 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ import {
If,
Icon,
FormattedMessage as T,
DashboardActionsBar,
DrawerActionsBar,
Can,
} from '@/components';
@@ -63,7 +63,7 @@ function VendorCreditDetailActionsBar({
};
return (
<DashboardActionsBar>
<DrawerActionsBar>
<NavbarGroup>
<Can I={VendorCreditAction.Edit} a={AbilitySubject.VendorCredit}>
<Button
@@ -105,7 +105,7 @@ function VendorCreditDetailActionsBar({
</If>
</Can>
</NavbarGroup>
</DashboardActionsBar>
</DrawerActionsBar>
);
}