mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 01:14:50 +08:00
删除额外日志
This commit is contained in:
@@ -103,7 +103,7 @@ const Crontab = () => {
|
||||
align: 'center' as const,
|
||||
render: (text: string, record: any) => (
|
||||
<>
|
||||
{!record.isDisabled && (
|
||||
{(!record.isDisabled || record.status !== CrontabStatus.idle) && (
|
||||
<>
|
||||
{record.status === CrontabStatus.idle && (
|
||||
<Tag icon={<ClockCircleOutlined />} color="default">
|
||||
@@ -125,7 +125,7 @@ const Crontab = () => {
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
{record.isDisabled === 1 && (
|
||||
{record.isDisabled === 1 && record.status === CrontabStatus.idle && (
|
||||
<Tag icon={<CloseCircleOutlined />} color="error">
|
||||
已禁用
|
||||
</Tag>
|
||||
|
||||
Reference in New Issue
Block a user