mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-21 23:05:00 +00:00
Actually remove the modal when not in use
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
</tbody>
|
||||
|
||||
<portal target="#modal-portal">
|
||||
<ModalView :isOpened="!!openedEmail" :closeModal="() => {openedEmail = null;}">
|
||||
<ModalView v-if="!!openedEmail" :closeModal="() => {openedEmail = null;}">
|
||||
<MailView :email="openedEmail" />
|
||||
</ModalView>
|
||||
</portal>
|
||||
|
||||
Reference in New Issue
Block a user