Переглянути джерело

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
tags/v27.0.0beta1
Simon L 1 рік тому
джерело
коміт
da274d18ff
Аккаунт користувача з таким Email не знайдено
1 змінених файлів з 8 додано та 6 видалено
  1. 8
    6
      apps/files/js/app.js

+ 8
- 6
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'

Завантаження…
Відмінити
Зберегти