From aeba0a9dfdc76b62c5d8482d5e75241666003a25 Mon Sep 17 00:00:00 2001 From: Tameem Bin Haider Date: Tue, 31 Dec 2024 15:21:07 +0600 Subject: [PATCH] fix: show field agent tab by default --- packages/client/src/views/OfficeHome/inProgress/InProgress.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/views/OfficeHome/inProgress/InProgress.tsx b/packages/client/src/views/OfficeHome/inProgress/InProgress.tsx index 845c06d7e9..9749ee95a8 100644 --- a/packages/client/src/views/OfficeHome/inProgress/InProgress.tsx +++ b/packages/client/src/views/OfficeHome/inProgress/InProgress.tsx @@ -495,7 +495,7 @@ function InProgressComponent(props: IRegistrarHomeProps) { noResultText={noResultMessage} noContent={noContent} > - {selectorId === SELECTOR_ID.fieldAgentDrafts && + {(!selectorId || selectorId === SELECTOR_ID.fieldAgentDrafts) && renderFieldAgentTable(inProgressData, isShowPagination)} {selectorId === SELECTOR_ID.hospitalDrafts && renderHospitalTable(notificationData, isShowPagination)}