Skip to content

Commit

Permalink
Show job kill button for INIT status. And option to sort by start and…
Browse files Browse the repository at this point in the history
… finish time
  • Loading branch information
cabhishek committed Jul 14, 2016
1 parent c5bd537 commit e07ca48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion genie-web/src/main/resources/static/scripts/Job.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class Job extends Page {
name : 'sort',
value : '',
type : 'select',
selectFields: ['user', 'created', 'id', 'name', 'status', 'clusterName', 'cluserId'].map(field => (
selectFields: ['user', 'id', 'name', 'status', 'clusterName', 'cluserId', 'started', 'finished'].map(field => (
{
value: field,
label: field,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default class JobDetails extends React.Component {
</ul>
</td>
</tr>
{this.state.job.status === 'RUNNING' && !this.state.killJobRequestSent ?
{(this.state.job.status === 'RUNNING' || this.state.job.status === 'INIT') && !this.state.killJobRequestSent ?
<tr>
<td>
<button
Expand Down

0 comments on commit e07ca48

Please sign in to comment.