浏览代码

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
没有帐户链接到提交者的电子邮件
共有 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'

正在加载...
取消
保存