From 73b041d8d2496e36fad8c9c9a18ddecbbff00679 Mon Sep 17 00:00:00 2001 From: Ahmed Bouhuolia Date: Sun, 11 Jun 2023 19:25:39 +0200 Subject: [PATCH] fix(webapp): add deuplicate icon to customers and vendors table --- .../containers/Customers/CustomersLanding/components.tsx | 3 +-- .../CustomerOpeningBalanceFormFloatingActions.tsx | 7 +++---- .../src/containers/Vendors/VendorsLanding/components.tsx | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/packages/webapp/src/containers/Customers/CustomersLanding/components.tsx b/packages/webapp/src/containers/Customers/CustomersLanding/components.tsx index 5fef5a9ff..c93bcb31f 100644 --- a/packages/webapp/src/containers/Customers/CustomersLanding/components.tsx +++ b/packages/webapp/src/containers/Customers/CustomersLanding/components.tsx @@ -38,7 +38,6 @@ export function ActionsMenu({ /> - } text={intl.get('edit_customer')} @@ -47,7 +46,7 @@ export function ActionsMenu({ } + icon={} text={intl.get('duplicate')} onClick={safeCallback(onDuplicate, original)} /> diff --git a/packages/webapp/src/containers/Dialogs/CustomerOpeningBalanceDialog/CustomerOpeningBalanceFormFloatingActions.tsx b/packages/webapp/src/containers/Dialogs/CustomerOpeningBalanceDialog/CustomerOpeningBalanceFormFloatingActions.tsx index adb94ae44..6c07f7d79 100644 --- a/packages/webapp/src/containers/Dialogs/CustomerOpeningBalanceDialog/CustomerOpeningBalanceFormFloatingActions.tsx +++ b/packages/webapp/src/containers/Dialogs/CustomerOpeningBalanceDialog/CustomerOpeningBalanceFormFloatingActions.tsx @@ -8,7 +8,6 @@ import { useCustomerOpeningBalanceContext } from './CustomerOpeningBalanceFormPr import withDialogActions from '@/containers/Dialog/withDialogActions'; import { compose } from '@/utils'; - /** * Customer Opening balance floating actions. * @returns @@ -31,6 +30,9 @@ function CustomerOpeningBalanceFormFloatingActions({ return (
+ -
); diff --git a/packages/webapp/src/containers/Vendors/VendorsLanding/components.tsx b/packages/webapp/src/containers/Vendors/VendorsLanding/components.tsx index 719b75a8e..9cf89c65a 100644 --- a/packages/webapp/src/containers/Vendors/VendorsLanding/components.tsx +++ b/packages/webapp/src/containers/Vendors/VendorsLanding/components.tsx @@ -48,7 +48,7 @@ export function ActionsMenu({
} + icon={} text={intl.get('duplicate')} onClick={safeCallback(onDuplicate, original)} />