From bda18e64c85f12624327daa03851ffad61c03410 Mon Sep 17 00:00:00 2001 From: Inga Kirschnick Date: Fri, 10 Mar 2023 17:03:37 +0100 Subject: [PATCH] Small Dashboard Job List fix --- app/static/js/ResourceLists/JobList.js | 2 +- app/templates/main/dashboard.html.j2 | 28 -------------------------- 2 files changed, 1 insertion(+), 29 deletions(-) diff --git a/app/static/js/ResourceLists/JobList.js b/app/static/js/ResourceLists/JobList.js index ff7f82b2..2c48996e 100644 --- a/app/static/js/ResourceLists/JobList.js +++ b/app/static/js/ResourceLists/JobList.js @@ -96,7 +96,7 @@ class JobList extends ResourceList { let listAction = listActionElement === null ? 'view' : listActionElement.dataset.listAction; switch (listAction) { case 'delete-request': { - Utils.deleteJobRequest(this.userId, itemId); + Requests.jobs.entity.delete(itemId); break; } case 'view': { diff --git a/app/templates/main/dashboard.html.j2 b/app/templates/main/dashboard.html.j2 index ca5422df..5474db97 100644 --- a/app/templates/main/dashboard.html.j2 +++ b/app/templates/main/dashboard.html.j2 @@ -42,23 +42,6 @@ - {#
-

Social

-
-
- Other users -

Find other users and follow them to see their corpora.

-
-
-
-
-
- Public corpora -

Find public corpora

-
-
-
-
#} {% endblock page_content %} @@ -113,14 +96,3 @@ {% endblock modals %} - -{% block scripts %} -{{ super() }} -{# #} -{% endblock scripts %} -