From 6e36915f5e510ca3dc67a0a713322baec2ec159e Mon Sep 17 00:00:00 2001 From: DrWarpMan <36279265+DrWarpMan@users.noreply.github.com> Date: Mon, 19 Aug 2024 11:06:12 +0200 Subject: [PATCH] Fix redirect after deleting item Redirects to the parent of an item instead of homepage after deleting the item --- src/components/itemContextMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/itemContextMenu.js b/src/components/itemContextMenu.js index f265eafbfe..64c4c10a76 100644 --- a/src/components/itemContextMenu.js +++ b/src/components/itemContextMenu.js @@ -659,7 +659,7 @@ function deleteItem(apiClient, item) { import('../scripts/deleteHelper').then((deleteHelper) => { deleteHelper.deleteItem({ item: item, - navigate: false + navigate: true }).then(function () { resolve(true); }, reject);