From 21a97f0b61c95c321606ca68f41c623d626343a1 Mon Sep 17 00:00:00 2001 From: Alexandre Monjol Date: Thu, 16 Jan 2025 18:01:55 +0100 Subject: [PATCH] bug: update missed page header implementations --- src/pages/settings/CashfreeIntegrationDetails.tsx | 9 ++++----- src/pages/settings/CashfreeIntegrations.tsx | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/pages/settings/CashfreeIntegrationDetails.tsx b/src/pages/settings/CashfreeIntegrationDetails.tsx index f30d54c5d..39f268e5a 100644 --- a/src/pages/settings/CashfreeIntegrationDetails.tsx +++ b/src/pages/settings/CashfreeIntegrationDetails.tsx @@ -119,13 +119,12 @@ const CashfreeIntegrationDetails = () => { return (
- -
+ + @@ -136,7 +135,7 @@ const CashfreeIntegrationDetails = () => { {cashfreePaymentProvider?.name} )} -
+ {(canEditIntegration || canDeleteIntegration) && ( { )} )} -
+
{loading ? ( <> diff --git a/src/pages/settings/CashfreeIntegrations.tsx b/src/pages/settings/CashfreeIntegrations.tsx index 2c8967bed..e523c0ffd 100644 --- a/src/pages/settings/CashfreeIntegrations.tsx +++ b/src/pages/settings/CashfreeIntegrations.tsx @@ -91,13 +91,12 @@ const CashfreeIntegrations = () => { return ( <> - -
+ + @@ -108,7 +107,7 @@ const CashfreeIntegrations = () => { {translate('text_1727619878796wmgcntkfycn')} )} -
+ {canCreateIntegration && ( )} -
+
{loading ? ( <>