Bladeren bron

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 jaar geleden
bovenliggende
commit
da274d18ff
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 8 en 6 verwijderingen
  1. 8
    6
      apps/files/js/app.js

+ 8
- 6
apps/files/js/app.js Bestand weergeven

@@ -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'

Laden…
Annuleren
Opslaan