Skip to content

Commit a7c9ae7

Browse files
committed
revert: hide delete option for multi tag in workspace tags page
1 parent 03865f7 commit a7c9ae7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pages/workspace/tags/WorkspaceTagsPage.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ function WorkspaceTagsPage({route}: WorkspaceTagsPageProps) {
174174

175175
const getHeaderButtons = () => {
176176
const isThereAnyAccountingConnection = Object.keys(policy?.connections ?? {}).length !== 0;
177-
const isMultiLevelTags = PolicyUtils.isMultiLevelTags(policyTags);
178177

179178
if (selectedTagsArray.length === 0) {
180179
return (
@@ -204,7 +203,7 @@ function WorkspaceTagsPage({route}: WorkspaceTagsPageProps) {
204203

205204
const options: Array<DropdownOption<DeepValueOf<typeof CONST.POLICY.TAGS_BULK_ACTION_TYPES>>> = [];
206205

207-
if (!isThereAnyAccountingConnection && !isMultiLevelTags) {
206+
if (!isThereAnyAccountingConnection) {
208207
options.push({
209208
icon: Expensicons.Trashcan,
210209
text: translate(selectedTagsArray.length === 1 ? 'workspace.tags.deleteTag' : 'workspace.tags.deleteTags'),

0 commit comments

Comments
 (0)