Commit a7c9ae7 1 parent 03865f7 commit a7c9ae7 Copy full SHA for a7c9ae7
File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,6 @@ function WorkspaceTagsPage({route}: WorkspaceTagsPageProps) {
174
174
175
175
const getHeaderButtons = ( ) => {
176
176
const isThereAnyAccountingConnection = Object . keys ( policy ?. connections ?? { } ) . length !== 0 ;
177
- const isMultiLevelTags = PolicyUtils . isMultiLevelTags ( policyTags ) ;
178
177
179
178
if ( selectedTagsArray . length === 0 ) {
180
179
return (
@@ -204,7 +203,7 @@ function WorkspaceTagsPage({route}: WorkspaceTagsPageProps) {
204
203
205
204
const options : Array < DropdownOption < DeepValueOf < typeof CONST . POLICY . TAGS_BULK_ACTION_TYPES > > > = [ ] ;
206
205
207
- if ( ! isThereAnyAccountingConnection && ! isMultiLevelTags ) {
206
+ if ( ! isThereAnyAccountingConnection ) {
208
207
options . push ( {
209
208
icon : Expensicons . Trashcan ,
210
209
text : translate ( selectedTagsArray . length === 1 ? 'workspace.tags.deleteTag' : 'workspace.tags.deleteTags' ) ,
You can’t perform that action at this time.
0 commit comments