From f796b97cb45382f2ff7cad71f85d6aeeb2a90832 Mon Sep 17 00:00:00 2001 From: truph01 Date: Mon, 18 Nov 2024 17:52:40 +0700 Subject: [PATCH] fix: Tags - State field is not auto selected --- .../iou/request/step/IOURequestStepConfirmation.tsx | 5 +++++ .../iou/request/step/withFullTransactionOrNotFound.tsx | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/pages/iou/request/step/IOURequestStepConfirmation.tsx b/src/pages/iou/request/step/IOURequestStepConfirmation.tsx index 06e4ed83d936..c32b8e2b5f59 100644 --- a/src/pages/iou/request/step/IOURequestStepConfirmation.tsx +++ b/src/pages/iou/request/step/IOURequestStepConfirmation.tsx @@ -51,6 +51,7 @@ function IOURequestStepConfirmation({ params: {iouType, reportID, transactionID, action, participantsAutoAssigned: participantsAutoAssignedFromRoute}, }, transaction, + isLoadingTransaction, }: IOURequestStepConfirmationProps) { const currentUserPersonalDetails = useCurrentUserPersonalDetails(); const personalDetails = usePersonalDetails() || CONST.EMPTY_OBJECT; @@ -603,6 +604,10 @@ function IOURequestStepConfirmation({ createTransaction(listOfParticipants); }; + if (isLoadingTransaction) { + return ; + } + return ( ; + + /** Indicates whether the transaction data is loading */ + isLoadingTransaction?: boolean; }; type MoneyRequestRouteName = @@ -54,8 +58,9 @@ export default function );