Camera stage mapping step in wizard says skip until complete.

This commit is contained in:
Julian Stirling 2025-11-04 20:13:46 +00:00
parent e71a25733b
commit e1172248b0
4 changed files with 47 additions and 4 deletions

View file

@ -11,6 +11,7 @@
:modal-progress="actionData.modal_progress"
@response="actionResponse"
@error="modalError"
@finished="actionFinished"
/>
</template>
@ -33,11 +34,27 @@ export default {
},
methods: {
actionResponse: function () {
/**
* Runs when the ActionButton's action completes successfully.
*
* It is used to send success notifications. It also forwards the response to the
* parent.
*/
actionResponse: function (response) {
if (this.actionData.notify_on_success) {
this.modalNotify(this.actionData.success_message);
this.$emit("response", response);
}
},
/**
* Runs when the ActionButton's action finishes in any way (error, cancel,
* completion).
*
* This forwards the event to the parent
*/
actionFinished: function () {
this.$emit("finished");
},
},
};
</script>