Skip to content

Commit 539ab90

Browse files
committed
fix comment
1 parent 001958f commit 539ab90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/home/report/ContextMenu/BaseReportActionContextMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ function BaseReportActionContextMenu({
189189
const requestParentReportAction = useMemo(() => {
190190
if (isMoneyRequestReport || isInvoiceReport) {
191191
if (transactionThreadReportID === CONST.FAKE_REPORT_ID) {
192-
return Object.values(childReportActions ?? {}).find((action) => !isDeletedAction(action) && action.actionName === CONST.REPORT.ACTIONS.TYPE.IOU);
192+
return Object.values(childReportActions ?? {}).find((action) => action.actionName === CONST.REPORT.ACTIONS.TYPE.IOU && !isDeletedAction(action));
193193
}
194194
if (!paginatedReportActions || !transactionThreadReport?.parentReportActionID) {
195195
return undefined;

0 commit comments

Comments
 (0)