Skip to content

Commit 249940f

Browse files
committed
Fixed custom event submission : back to form list
1 parent 2bb54ab commit 249940f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

camunda-formio-tasklist-vue/src/components/form/FormListModal.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,12 +420,17 @@ export default class FormListModal extends Mixins(BaseMixin) {
420420
oncustomEventCallback = (customEvent: CustomEventPayload) => {
421421
switch (customEvent.type) {
422422
case "customSubmitDone":
423+
this.backToFormList();
423424
this.$emit("update-task");
424425
break;
426+
case "cancelSubmission":
427+
this.backToFormList();
428+
break;
425429
default:
426430
break;
427431
}
428432
};
433+
429434
430435
}
431436
</script>

0 commit comments

Comments
 (0)