aboutsummaryrefslogtreecommitdiff
path: root/src/components/mobile_nav/mobile_nav.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/mobile_nav/mobile_nav.vue')
-rw-r--r--src/components/mobile_nav/mobile_nav.vue22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/components/mobile_nav/mobile_nav.vue b/src/components/mobile_nav/mobile_nav.vue
index 0f23b7ac..6b6b8f21 100644
--- a/src/components/mobile_nav/mobile_nav.vue
+++ b/src/components/mobile_nav/mobile_nav.vue
@@ -88,16 +88,18 @@
ref="sideDrawer"
:logout="logout"
/>
- <confirm-modal
- :showing="showingConfirmLogout"
- :title="$t('login.logout_confirm_title')"
- :confirm-text="$t('login.logout_confirm_accept_button')"
- :cancel-text="$t('login.logout_confirm_cancel_button')"
- @accepted="doLogout"
- @cancelled="hideConfirmLogout"
- >
- {{ $t('login.logout_confirm') }}
- </confirm-modal>
+ <portal to="modal">
+ <confirm-modal
+ v-if="showingConfirmLogout"
+ :title="$t('login.logout_confirm_title')"
+ :confirm-text="$t('login.logout_confirm_accept_button')"
+ :cancel-text="$t('login.logout_confirm_cancel_button')"
+ @accepted="doLogout"
+ @cancelled="hideConfirmLogout"
+ >
+ {{ $t('login.logout_confirm') }}
+ </confirm-modal>
+ </portal>
</div>
</template>