Skip to content

Commit c475261

Browse files
committed
fix: concierge missing as last actor when last Action is IOU
1 parent bceff96 commit c475261

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/OptionsListUtils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ function shouldShowLastActorDisplayName(report: OnyxEntry<Report>, lastActorDeta
441441
!lastActorDetails ||
442442
reportUtilsIsSelfDM(report) ||
443443
(isDM(report) && lastActorDetails.accountID !== currentUserAccountID) ||
444-
lastAction?.actionName === CONST.REPORT.ACTIONS.TYPE.IOU ||
444+
(lastAction?.actionName === CONST.REPORT.ACTIONS.TYPE.IOU && lastAction?.childVisibleActionCount === 0) ||
445445
(lastAction?.actionName === CONST.REPORT.ACTIONS.TYPE.REPORT_PREVIEW &&
446446
Object.keys(report?.participants ?? {})?.some((participantID) => participantID === CONST.ACCOUNT_ID.MANAGER_MCTEST.toString()))
447447
) {

0 commit comments

Comments
 (0)