mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-25 08:26:06 +08:00
修复任务列表名称标签提示
This commit is contained in:
parent
793da29f22
commit
fc9bc7bea2
|
@ -85,6 +85,7 @@ const Crontab = ({ headerStyle, isPhone, theme }: any) => {
|
||||||
goToScriptManager(record);
|
goToScriptManager(record);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
{record.labels && record.labels.length > 0 ? (
|
||||||
<Popover
|
<Popover
|
||||||
placement="right"
|
placement="right"
|
||||||
trigger={isPhone ? 'click' : 'hover'}
|
trigger={isPhone ? 'click' : 'hover'}
|
||||||
|
@ -107,6 +108,9 @@ const Crontab = ({ headerStyle, isPhone, theme }: any) => {
|
||||||
>
|
>
|
||||||
{record.name || '-'}
|
{record.name || '-'}
|
||||||
</Popover>
|
</Popover>
|
||||||
|
) : (
|
||||||
|
record.name || '-'
|
||||||
|
)}
|
||||||
{record.isPinned ? (
|
{record.isPinned ? (
|
||||||
<span>
|
<span>
|
||||||
<PushpinOutlined />
|
<PushpinOutlined />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user