Skip to content

Commit

Permalink
Let state = ...
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Dec 3, 2020
1 parent f3aa6ab commit ec0f739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AIPscan/static/js/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function package_list_task_status(taskId, showcount, fetchJobId){
url: '/aggregator/package_list_task_status/' + taskId,
datatype: "json",
success: function(data) {
state = data['state'];
let state = data['state'];
if (state != status_pending && state != status_progress) {
$('#console').append('<div class="log">' + state +'</div>')
$('#console').append('<div class="log">Downloading AIP METS files</div>')
Expand Down

0 comments on commit ec0f739

Please sign in to comment.