Merge fixes and improvements (#1910)

Co-authored-by: tristanliu <tristanliu@tencent.com>
This commit is contained in:
Jun Zhang
2024-11-16 13:57:54 +08:00
committed by GitHub
parent 5e22b412c6
commit ba1938f04b
40 changed files with 1382 additions and 2784 deletions

View File

@@ -38,6 +38,7 @@ const BatchCtrlDropDownButton: FC<BatchCtrlDropDownButtonProps> = ({
exportTagButton: {
key: 'exportTagButton',
label: '导出为标签',
hidden: !!!process.env.SHOW_TAG,
icon: <ExportOutlined />,
disabled: disabledList?.includes('exportTagButton'),
},
@@ -142,9 +143,11 @@ const BatchCtrlDropDownButton: FC<BatchCtrlDropDownButtonProps> = ({
icon: <DeleteOutlined />,
disabled: disabledList?.includes('batchDelete'),
},
].filter((item) => {
return !hiddenList.includes(item.key);
});
]
.filter((item) => {
return !hiddenList.includes(item.key);
})
.filter((item) => !!!item.hidden);
const popoverConfig = {
title: '选择下载区间',