Reintroduce recactive button state for background detect

This commit is contained in:
Julian Stirling 2026-03-08 16:53:58 +00:00
parent 4da05b1869
commit eccf26851e
6 changed files with 31 additions and 4 deletions

View file

@ -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;