This commit is contained in:
isUnknown 2024-10-16 15:32:24 +02:00
parent 9d6ee634fb
commit 698fc0965e
9 changed files with 43 additions and 30 deletions

View file

@ -107,7 +107,7 @@ async function addPdf(event) {
if (response.ok) {
console.log("File uploaded successfully.");
page.value = result;
emit("update:step", "PdfViewer");
location.href = location.origin + "/" + page.value.parent;
} else {
console.error("Error uploading file:", result.error);
}