Browse Source

Merge pull request #37948 from nextcloud/artonge/fix/dont_show_tags_action_when_systemtag_is_disabled

Do not show Tags action when systemtag is disabled
tags/v27.0.0beta1
Simon L 1 year ago
parent
commit
da274d18ff
No account linked to committer's email address
1 changed files with 8 additions and 6 deletions
  1. 8
    6
      apps/files/js/app.js

+ 8
- 6
apps/files/js/app.js View File

@@ -108,12 +108,14 @@
iconClass: 'icon-delete',
order: 99,
},
{
name: 'tags',
displayName: t('files', 'Tags'),
iconClass: 'icon-tag',
order: 100,
},
...(
OCA?.SystemTags === undefined ? [] : ([{
name: 'tags',
displayName: t('files', 'Tags'),
iconClass: 'icon-tag',
order: 100,
}])
),
],
sorting: {
mode: $('#defaultFileSorting').val() === 'basename'

Loading…
Cancel
Save