Stop showing cancel modals on action button my default

This commit is contained in:
Julian Stirling 2026-06-30 17:20:14 +00:00
parent 59618ccfbf
commit 0eea10f2b0

View file

@ -349,13 +349,6 @@ export default {
this.$emit("completed", response.data.output);
} else if (response.data.status == "cancelled") {
this.$emit("cancelled", response.data);
let cancelMessage;
if (this.submitLabel != "") {
cancelMessage = ` "${this.submitLabel}" `;
} else {
cancelMessage = " ";
}
this.modalNotify(`The action ${cancelMessage} was cancelled.`);
} else if (response.data.status == "error") {
const err_msg = this.log?.[0]?.message ?? "Unknown error";
this.$emit("error", err_msg);