Reintroduce recactive button state for background detect
This commit is contained in:
parent
4da05b1869
commit
eccf26851e
6 changed files with 31 additions and 4 deletions
|
|
@ -322,6 +322,9 @@ export default {
|
|||
} else if (response.data.status == "cancelled") {
|
||||
this.$emit("cancelled", response.data);
|
||||
this.modalNotify(`The action '${this.submitLabel}' was cancelled.`);
|
||||
} else if (response.data.status == "error") {
|
||||
const err_msg = this.log?.[0]?.message ?? "Unknown error";
|
||||
this.$emit("error", err_msg);
|
||||
}
|
||||
}
|
||||
this.taskUrl = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue