From 59950aba5ba6422bc0496ea3c5b19c9ea9044e34 Mon Sep 17 00:00:00 2001 From: Inga Kirschnick Date: Mon, 5 Jun 2023 15:55:12 +0200 Subject: [PATCH] Typo fix --- app/static/js/ResourceLists/JobList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/ResourceLists/JobList.js b/app/static/js/ResourceLists/JobList.js index a568c646..473ae826 100644 --- a/app/static/js/ResourceLists/JobList.js +++ b/app/static/js/ResourceLists/JobList.js @@ -228,7 +228,7 @@ class JobList extends ResourceList { let confirmElement = modalElement.querySelector('.action-button[data-action="confirm"]'); confirmElement.addEventListener('click', (event) => { this.selectedItemIds.forEach(selectedItemId => { - Requests.corpora.entity.files.ent.delete(this.corpusId, selectedItemId); + Requests.jobs.entity.delete(selectedItemId); }); this.selectedItemIds.clear(); this.renderingItemSelection();