From 09108088539e353ae0cf45806fa3b6b170b9b0e4 Mon Sep 17 00:00:00 2001 From: callmeyan Date: Wed, 11 Sep 2024 17:32:06 +0800 Subject: [PATCH] add apply_button permission for batch sync log --- src/pages/bill/reconciliation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/bill/reconciliation.tsx b/src/pages/bill/reconciliation.tsx index 26eb6d9..836b6c9 100644 --- a/src/pages/bill/reconciliation.tsx +++ b/src/pages/bill/reconciliation.tsx @@ -113,7 +113,7 @@ const BillReconciliation = () => { operationRender={queryParams.apply_status == 'CHECKED' ? undefined : ( user && user.permissions?.apply_button ? operation : undefined )} - beforeTotalAmount={
{queryParams.apply_status != 'CHECKED' && ( + beforeTotalAmount={
{queryParams.apply_status != 'CHECKED' && user && !!user.permissions?.apply_button && ( (selectKeys.length == 0) ? :