diff --git a/babex-vue/src/components/invite/CallHome.vue b/babex-vue/src/components/invite/CallHome.vue index fe89c438..e5b25ee1 100644 --- a/babex-vue/src/components/invite/CallHome.vue +++ b/babex-vue/src/components/invite/CallHome.vue @@ -89,14 +89,13 @@ status: 'CONFIRMED', comment: comment.value, }).success( () => { + if (confirmationForm.value.emailParticipant) { + emailDialog(); + } + else { + complete(); + } }); - - if (confirmationForm.value.emailParticipant) { - emailDialog(); - } - else { - complete(); - } }); }