Fix redirect after discard

This commit is contained in:
Eli Ribble 2026-04-15 18:34:43 +00:00
parent ac65129ba6
commit 344f4bcaa5
No known key found for this signature in database

View file

@ -406,7 +406,7 @@ const handleDiscard = async () => {
if (!response.ok) throw new Error("Failed to discard upload");
// Navigate to uploads list or appropriate page
router.push("/uploads");
router.push("/_/configuration/upload");
} catch (error) {
console.error("Error discarding upload:", error);
alert("Failed to discard upload. Please try again.");