diff options
-rw-r--r-- | apps/files/js/app.js | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/apps/files/js/app.js b/apps/files/js/app.js index 1252bd5796c..ba80e028bd7 100644 --- a/apps/files/js/app.js +++ b/apps/files/js/app.js @@ -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' |