fix(ui): hide status banner after submission is complete
This commit is contained in:
parent
377cc70d8b
commit
057288d3b7
1 changed files with 1 additions and 1 deletions
|
|
@ -2288,7 +2288,7 @@ frappe.ui.form.Form = class FrappeForm {
|
|||
args: { doctype: this.doctype, docname: this.docname },
|
||||
})
|
||||
.then((r) => {
|
||||
if (r.message?.latest_submission) {
|
||||
if (r.message?.latest_submission && r.message.status !== "Finished") {
|
||||
// if we are here that means some submission(s) were queued and are in queued/failed state
|
||||
let submission_label = __("Previous Submission");
|
||||
let secondary = "";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue