Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dlink
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaowei
dlink
Commits
337e12a3
Commit
337e12a3
authored
Apr 16, 2022
by
zhu-mingye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化任务状态为 running , finished , canceled and failed 显示flinkwebui按钮
parent
2d03d13b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
JobStatus.tsx
dlink-web/src/components/Common/JobStatus.tsx
+5
-5
No files found.
dlink-web/src/components/Common/JobStatus.tsx
View file @
337e12a3
...
...
@@ -4,8 +4,8 @@ import {
ClockCircleOutlined
,
CloseCircleOutlined
,
MinusCircleOutlined
,
Sync
Outlined
,
QuestionCircle
Outlined
QuestionCircle
Outlined
,
Sync
Outlined
}
from
"@ant-design/icons"
;
export
type
JobStatusFormProps
=
{
...
...
@@ -34,10 +34,10 @@ export function isStatusDone(type: string){
case
JOB_STATUS
.
FAILED
:
case
JOB_STATUS
.
CANCELED
:
case
JOB_STATUS
.
FINISHED
:
case
JOB_STATUS
.
UNKNOWN
:
return
true
;
default
:
case
JOB_STATUS
.
RUNNING
:
return
false
;
default
:
return
true
;
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment