Update login

Removed not needed parameters for task status
This commit is contained in:
Ozzie Isaacs
2023-04-03 20:00:13 +02:00
parent b9c942befc
commit 13c0d30a8f
3 changed files with 8 additions and 8 deletions

View File

@@ -43,9 +43,7 @@ def get_email_status_json():
@login_required
def get_tasks_status():
# if current user admin, show all email, otherwise only own emails
tasks = WorkerThread.get_instance().tasks
answer = render_task_status(tasks)
return render_title_template('tasks.html', entries=answer, title=_("Tasks"), page="tasks")
return render_title_template('tasks.html', title=_("Tasks"), page="tasks")
# helper function to apply localize status information in tasklist entries