Do not show Tags action when systemtag is disabledtags/v27.0.0beta1
@@ -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' |