again lol
This commit is contained in:
parent
793f6f9a7e
commit
70e2e2e900
@ -248,11 +248,17 @@ class PaperProcessor {
|
|||||||
// Update processing status message if status changed
|
// Update processing status message if status changed
|
||||||
if (paper.status !== "Pending") {
|
if (paper.status !== "Pending") {
|
||||||
if (paper.status === "Done") {
|
if (paper.status === "Done") {
|
||||||
showFlashMessage(`Paper processed successfully: ${paper.title}`, "success");
|
showFlashMessage(
|
||||||
|
`Paper processed successfully: ${paper.title}`,
|
||||||
|
"success"
|
||||||
|
);
|
||||||
} else if (paper.status === "Failed") {
|
} else if (paper.status === "Failed") {
|
||||||
showFlashMessage(`Paper processing failed: ${
|
showFlashMessage(
|
||||||
|
`Paper processing failed: ${
|
||||||
paper.error_msg || "Unknown error"
|
paper.error_msg || "Unknown error"
|
||||||
}`, "error");
|
}`,
|
||||||
|
"error"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user