mirror of
https://github.com/nextcloud/server.git
synced 2026-06-05 23:06:48 -04:00
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
This commit is contained in:
commit
da274d18ff
1 changed files with 8 additions and 6 deletions
|
|
@ -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…
Reference in a new issue