Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

[webui] Support kill UNKNOWN job #1944

Merged
merged 1 commit into from
Jan 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/webui/src/components/trial-detail/TableList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 */}
Expand Down