mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
Merge branch 'feature/multi-dimensions' of https://github.com/bigcapitalhq/client into feature/multi-dimensions
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user