diff --git a/src/components/ReportActionItem/MoneyRequestView.tsx b/src/components/ReportActionItem/MoneyRequestView.tsx index 4a76f33de346..f71e08ce0e91 100644 --- a/src/components/ReportActionItem/MoneyRequestView.tsx +++ b/src/components/ReportActionItem/MoneyRequestView.tsx @@ -410,7 +410,13 @@ function MoneyRequestView({ ...parentReportAction?.errors, }; - const tagList = policyTagLists.map(({name, orderWeight}, index) => { + const tagList = policyTagLists.map(({name, orderWeight, tags}, index) => { + const tagForDisplay = TransactionUtils.getTagForDisplay(updatedTransaction ?? transaction, index); + const shouldShow = !!tagForDisplay || OptionsListUtils.hasEnabledOptions(tags); + if (!shouldShow) { + return null; + } + const tagError = getErrorForField( 'tag', { @@ -418,7 +424,7 @@ function MoneyRequestView({ tagListName: name, }, PolicyUtils.hasDependentTags(policy, policyTagList), - TransactionUtils.getTagForDisplay(updatedTransaction ?? transaction, index), + tagForDisplay, ); return (