From fd322234edf23e5bed3c48ca2ecbe1671a95ef95 Mon Sep 17 00:00:00 2001 From: nkdengineer Date: Fri, 4 Oct 2024 14:51:11 +0700 Subject: [PATCH] fix: modal disappears and then reappears after the receipt is deleted --- src/libs/actions/IOU.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/IOU.ts b/src/libs/actions/IOU.ts index 6681388c26dd..229585ebda48 100644 --- a/src/libs/actions/IOU.ts +++ b/src/libs/actions/IOU.ts @@ -7630,7 +7630,7 @@ function detachReceipt(transactionID: string) { value: { ...newTransaction, pendingFields: { - receipt: CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE, + receipt: CONST.RED_BRICK_ROAD_PENDING_ACTION.UPDATE, }, }, },