From f98a5702a26739c4ac0203e18aa7a75b39c9a054 Mon Sep 17 00:00:00 2001 From: bbonf Date: Fri, 4 Oct 2024 17:01:15 +0200 Subject: [PATCH] fix timing issue from 1a94c5a --- babex-vue/src/components/invite/CallHome.vue | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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(); - } }); }