diff --git a/src/pages/workspace/tags/WorkspaceTagsPage.tsx b/src/pages/workspace/tags/WorkspaceTagsPage.tsx index 2620e83dff71..febb307b7cb8 100644 --- a/src/pages/workspace/tags/WorkspaceTagsPage.tsx +++ b/src/pages/workspace/tags/WorkspaceTagsPage.tsx @@ -202,7 +202,7 @@ function WorkspaceTagsPage({route}: WorkspaceTagsPageProps) { const options: Array>> = []; - if (!isThereAnyAccountingConnection && !isMultiLevelTags) { + if (!isThereAnyAccountingConnection) { options.push({ icon: Expensicons.Trashcan, text: translate(selectedTagsArray.length === 1 ? 'workspace.tags.deleteTag' : 'workspace.tags.deleteTags'), diff --git a/src/pages/workspace/tags/WorkspaceViewTagsPage.tsx b/src/pages/workspace/tags/WorkspaceViewTagsPage.tsx index 09ba086e3a14..7f8b3b5d48ec 100644 --- a/src/pages/workspace/tags/WorkspaceViewTagsPage.tsx +++ b/src/pages/workspace/tags/WorkspaceViewTagsPage.tsx @@ -137,8 +137,9 @@ function WorkspaceViewTagsPage({route}: WorkspaceViewTagsProps) { const options: Array>> = []; const isThereAnyAccountingConnection = Object.keys(policy?.connections ?? {}).length !== 0; + const isMultiLevelTags = PolicyUtils.isMultiLevelTags(policyTags); - if (!isThereAnyAccountingConnection) { + if (!isThereAnyAccountingConnection && !isMultiLevelTags) { options.push({ icon: Expensicons.Trashcan, text: translate(selectedTagsArray.length === 1 ? 'workspace.tags.deleteTag' : 'workspace.tags.deleteTags'),