Skip to content

Commit 07d0758

Browse files
committed
Fix SearchUIUtils action-loading key prefix after split
1 parent 1b91241 commit 07d0758

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libs/SearchUIUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2030,7 +2030,7 @@ function getTransactionsSections({
20302030

20312031
let shouldShow = true;
20322032

2033-
const isActionLoading = isActionLoadingSet?.has(`${ONYXKEYS.COLLECTION.REPORT_METADATA}${transactionItem.reportID}`);
2033+
const isActionLoading = isActionLoadingSet?.has(`${ONYXKEYS.COLLECTION.RAM_ONLY_REPORT_LOADING_STATE}${transactionItem.reportID}`);
20342034
if (currentQueryJSON && !isActionLoading) {
20352035
if (currentQueryJSON.type === CONST.SEARCH.DATA_TYPES.EXPENSE) {
20362036
const status = currentQueryJSON.status;
@@ -2633,7 +2633,7 @@ function getReportSections({
26332633

26342634
let shouldShow = true;
26352635

2636-
const isActionLoading = isActionLoadingSet?.has(`${ONYXKEYS.COLLECTION.REPORT_METADATA}${reportItem.reportID}`);
2636+
const isActionLoading = isActionLoadingSet?.has(`${ONYXKEYS.COLLECTION.RAM_ONLY_REPORT_LOADING_STATE}${reportItem.reportID}`);
26372637
if (currentQueryJSON && !isActionLoading) {
26382638
if (currentQueryJSON.type === CONST.SEARCH.DATA_TYPES.EXPENSE) {
26392639
const status = currentQueryJSON.status;

0 commit comments

Comments
 (0)