diff --git a/app.py b/app.py index 37f6c5b..362128c 100644 --- a/app.py +++ b/app.py @@ -138,9 +138,6 @@ def delete_job(job_id): if job is None: flash('Job not found.', 'error') return redirect(url_for('index')) - if job['status'] == 'processing': - flash('Cannot delete a job that is currently processing.', 'error') - return redirect(url_for('index')) deleted = store.delete_job(job_id) if deleted: diff --git a/templates/index.html b/templates/index.html index 8f2857e..2cb5862 100644 --- a/templates/index.html +++ b/templates/index.html @@ -71,11 +71,9 @@ {% endif %} - {% if job.status != 'processing' %} -
- -
- {% endif %} +
+ +
{% endfor %}