Skip to content

Commit 8bd70a3

Browse files
committed
Fix test
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
1 parent 4ea081f commit 8bd70a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/SearchUIUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,7 @@ function getReportSections({
19571957
const policyFromKey = getPolicyFromKey(data, reportItem);
19581958
const policy = policies?.[`${ONYXKEYS.COLLECTION.POLICY}${reportItem?.policyID ?? String(CONST.DEFAULT_NUMBER_ID)}`] ?? policyFromKey;
19591959

1960-
const shouldShowStatusAsPending = isOffline && reportItem?.pendingFields?.nextStep === CONST.RED_BRICK_ROAD_PENDING_ACTION.UPDATE;
1960+
const shouldShowStatusAsPending = !!isOffline && reportItem?.pendingFields?.nextStep === CONST.RED_BRICK_ROAD_PENDING_ACTION.UPDATE;
19611961

19621962
const hasAnyViolationsForReport = hasAnyViolations(
19631963
reportItem.reportID,

0 commit comments

Comments
 (0)