Merge branch 'action-modal' into 'v3'

Stop showing cancel modals on action button by default

Closes #809

See merge request openflexure/openflexure-microscope-server!632
This commit is contained in:
Julian Stirling 2026-07-01 10:05:14 +00:00
commit 524c04e31b

View file

@ -349,7 +349,6 @@ export default {
this.$emit("completed", response.data.output);
} 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);