{{ taskDetails.evidence_id }}
diff --git a/web/src/components/TaskList.vue b/web/src/components/TaskList.vue
index 0349a5716..64d4b881e 100644
--- a/web/src/components/TaskList.vue
+++ b/web/src/components/TaskList.vue
@@ -73,14 +73,20 @@ export default {
let data = response.data['tasks']
for (const task in data) {
let task_dict = data[task]
- let taskStatusTemp = task_dict.status
+ let taskStatusTemp = task_dict.celery_state
// As pending status requests show as null or pending
- if (taskStatusTemp === null || taskStatusTemp === "pending") {
+ if (taskStatusTemp === null || taskStatusTemp === "PENDING") {
taskStatusTemp = 'is pending on server.'
}
- else if (taskStatusTemp == "queued") {
+ else if (taskStatusTemp == "RECEIVED") {
taskStatusTemp = 'is queued for execution.'
}
+ else if (taskStatusTemp == "STARTED") {
+ taskStatusTemp = 'is running on ' + task_dict.worker_name
+ }
+ else {
+ taskStatusTemp = task_dict.status
+ }
if (this.filterJobs.length > 0) {
let jobName = task_dict.job_name.toLowerCase()
if (this.radioFilter && !this.filterJobs.includes(jobName)) {