Fix redirect after discard
This commit is contained in:
parent
ac65129ba6
commit
344f4bcaa5
1 changed files with 1 additions and 1 deletions
|
|
@ -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.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue