diff --git a/apps/files/js/app.js b/apps/files/js/app.js index 9e29a6214fc5d..1806a13da19b8 100644 --- a/apps/files/js/app.js +++ b/apps/files/js/app.js @@ -117,12 +117,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(),