From e93449ba731e0715429f1252978611babb10bf7e Mon Sep 17 00:00:00 2001 From: Inga Kirschnick Date: Tue, 6 Jun 2023 15:47:21 +0200 Subject: [PATCH] Reload Dashboard after deletion/unfollow corpus --- app/static/js/ResourceLists/CorpusList.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/static/js/ResourceLists/CorpusList.js b/app/static/js/ResourceLists/CorpusList.js index 7988cb85..c0e6f6d2 100644 --- a/app/static/js/ResourceLists/CorpusList.js +++ b/app/static/js/ResourceLists/CorpusList.js @@ -254,6 +254,9 @@ class CorpusList extends ResourceList { }); this.selectedItemIds.clear(); this.renderingItemSelection(); + setTimeout(() => { + window.location.reload(); + }, 1000); }); modal.open(); break;