Skip to content

Commit

Permalink
Fix redirect after deleting item
Browse files Browse the repository at this point in the history
Redirects to the parent of an item instead of homepage after deleting the item
  • Loading branch information
DrWarpMan authored Aug 19, 2024
1 parent 111e2ae commit 6e36915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/itemContextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6e36915

Please sign in to comment.