From a589ea8ec7e0569c302ee6efec7de43636850060 Mon Sep 17 00:00:00 2001 From: Vasilica Olariu Date: Wed, 28 Jan 2026 10:26:52 +0200 Subject: [PATCH 1/2] PM-3575 - allow BA admin to edit payments --- .../wallet-admin/src/home/tabs/payments/PaymentsTab.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/apps/wallet-admin/src/home/tabs/payments/PaymentsTab.tsx b/src/apps/wallet-admin/src/home/tabs/payments/PaymentsTab.tsx index 57e5108c5..59fe0650b 100644 --- a/src/apps/wallet-admin/src/home/tabs/payments/PaymentsTab.tsx +++ b/src/apps/wallet-admin/src/home/tabs/payments/PaymentsTab.tsx @@ -284,7 +284,11 @@ const ListView: FC = (props: ListViewProps) => { // eslint-disable-next-line react-hooks/exhaustive-deps }, [handleValueUpdated, editState, fetchWinnings]) - const isEditingAllowed = (): boolean => props.profile.roles.includes('Payment Admin') || props.profile.roles.includes('Payment Editor') + const isEditingAllowed = (): boolean => ( + props.profile.roles.includes('Payment Admin') || + props.profile.roles.includes('Payment BA Admin') || + props.profile.roles.includes('Payment Editor') + ) return ( <> From de5b95d08d75a45bc9c694d8dcb3d921a76f005f Mon Sep 17 00:00:00 2001 From: Vasilica Olariu Date: Wed, 28 Jan 2026 11:02:46 +0200 Subject: [PATCH 2/2] lint --- .../wallet-admin/src/home/tabs/payments/PaymentsTab.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/wallet-admin/src/home/tabs/payments/PaymentsTab.tsx b/src/apps/wallet-admin/src/home/tabs/payments/PaymentsTab.tsx index 59fe0650b..92f6b14f0 100644 --- a/src/apps/wallet-admin/src/home/tabs/payments/PaymentsTab.tsx +++ b/src/apps/wallet-admin/src/home/tabs/payments/PaymentsTab.tsx @@ -285,9 +285,9 @@ const ListView: FC = (props: ListViewProps) => { }, [handleValueUpdated, editState, fetchWinnings]) const isEditingAllowed = (): boolean => ( - props.profile.roles.includes('Payment Admin') || - props.profile.roles.includes('Payment BA Admin') || - props.profile.roles.includes('Payment Editor') + props.profile.roles.includes('Payment Admin') + || props.profile.roles.includes('Payment BA Admin') + || props.profile.roles.includes('Payment Editor') ) return (