mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-19 05:45:18 +00:00
Click on overly to close modal
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ModalView v-if="openedEmail">
|
||||
<MailView :email="openedEmail" />
|
||||
<ModalView v-if="openedEmail" :closeModal="() => { openedEmail = null; }">
|
||||
<MailView v-if="openedEmail" :email="openedEmail" />
|
||||
</ModalView>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user