Merge branch 'feature/multi-dimensions' of https://github.com/bigcapitalhq/client into feature/multi-dimensions

This commit is contained in:
a.bouhuolia
2022-03-20 16:45:24 +02:00
23 changed files with 559 additions and 127 deletions

View File

@@ -13,8 +13,9 @@ function VendorDrawerLinkComponent({
openDrawer,
}) {
// Handle view customer drawer.
const handleVendorDrawer = () => {
const handleVendorDrawer = (event) => {
openDrawer('vendor-details-drawer', { vendorId });
event.preventDefault();
};
return <ButtonLink onClick={handleVendorDrawer}>{children}</ButtonLink>;