Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

fix: redirect back to locations list after deleting location (#240)

Filipe Dobreira897f3842e0d3
diff --git a/frontend/pages/location/[id].vue b/frontend/pages/location/[id].vue
index 19fc58ca..8cceaf5f 100644
--- a/frontend/pages/location/[id].vue
+++ b/frontend/pages/location/[id].vue
@@ -47,7 +47,7 @@
}
toast.success("Location deleted");
- navigateTo("/home");
+ navigateTo("/locations");
}
const updateModal = ref(false);