Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
7565d3c0
Commit
7565d3c0
authored
Jan 15, 2020
by
Lijiao
Committed by
QuanluZhang
Jan 15, 2020
Browse files
Support kill a UNKNOWN job (#1944)
parent
91984431
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/webui/src/components/trial-detail/TableList.tsx
src/webui/src/components/trial-detail/TableList.tsx
+2
-1
No files found.
src/webui/src/components/trial-detail/TableList.tsx
View file @
7565d3c0
...
@@ -431,7 +431,8 @@ class TableList extends React.Component<TableListProps, TableListState> {
...
@@ -431,7 +431,8 @@ class TableList extends React.Component<TableListProps, TableListState> {
key
:
'
operation
'
,
key
:
'
operation
'
,
render
:
(
text
:
string
,
record
:
TableRecord
)
=>
{
render
:
(
text
:
string
,
record
:
TableRecord
)
=>
{
const
trialStatus
=
record
.
status
;
const
trialStatus
=
record
.
status
;
const
flag
:
boolean
=
(
trialStatus
===
'
RUNNING
'
)
?
false
:
true
;
// could kill a job when its status is RUNNING or UNKNOWN
const
flag
:
boolean
=
(
trialStatus
===
'
RUNNING
'
||
trialStatus
===
'
UNKNOWN
'
)
?
false
:
true
;
return
(
return
(
<
Row
id
=
"detail-button"
>
<
Row
id
=
"detail-button"
>
{
/* see intermediate result graph */
}
{
/* see intermediate result graph */
}
...
...
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