修复任务列表名称标签提示

This commit is contained in:
whyour 2022-03-12 23:57:38 +08:00
parent 793da29f22
commit fc9bc7bea2

View File

@ -85,6 +85,7 @@ const Crontab = ({ headerStyle, isPhone, theme }: any) => {
goToScriptManager(record);
}}
>
{record.labels && record.labels.length > 0 ? (
<Popover
placement="right"
trigger={isPhone ? 'click' : 'hover'}
@ -107,6 +108,9 @@ const Crontab = ({ headerStyle, isPhone, theme }: any) => {
>
{record.name || '-'}
</Popover>
) : (
record.name || '-'
)}
{record.isPinned ? (
<span>
<PushpinOutlined />