Commit 7565d3c0 authored by Lijiao's avatar Lijiao Committed by QuanluZhang
Browse files

Support kill a UNKNOWN job (#1944)

parent 91984431
......@@ -431,7 +431,8 @@ class TableList extends React.Component<TableListProps, TableListState> {
key: 'operation',
render: (text: string, record: TableRecord) => {
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 (
<Row id="detail-button">
{/* see intermediate result graph */}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment