mirror of
https://github.com/nextcloud/server.git
synced 2026-06-05 23:06:48 -04:00
Do not show Tags action when systemtag is disabled
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
4df145a6bc
commit
f9c427ce63
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