Skip to content

Commit 2ead7a6

Browse files
committed
ready for review
1 parent a57ef23 commit 2ead7a6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

qiita_pet/static/js/qiita.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function format_extra_info_processing_jobs ( data ) {
5555
'<tr>'+
5656
'<td colspan="2"><h5>Parameters:</h5>'+ data[6] +'</td>'+
5757
'</tr>';
58-
if (data[7] !== '') {
58+
if (data[7] !== '' && data[3] === 'in_construction') {
5959
row += '<tr>'+
6060
'<td colspan="2">'+
6161
'<button class="btn btn-danger btn-sm" onclick="remove_job(\''+ data[5] + "', '" + data[7] +'\');">'+

qiita_pet/templates/sitebase.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@
130130
$('#run-btn').prop('disabled', true);
131131
}
132132
$("#processing-info-div").empty();
133+
} else {
134+
processing_jobs_vue.update_processing_job_data();
135+
bootstrapAlert("Job deleted", "success", 10000);
133136
}
134137
}
135138
}

0 commit comments

Comments
 (0)