mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-22 15:15:34 +00:00
Remove Portal
This commit is contained in:
@@ -17,8 +17,6 @@
|
|||||||
<p>Loading...</p>
|
<p>Loading...</p>
|
||||||
</template>
|
</template>
|
||||||
</suspense>
|
</suspense>
|
||||||
|
|
||||||
<div id="modal-portal"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -19,11 +19,9 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
<portal target="#modal-portal">
|
<ModalView v-if="!!openedEmail" :closeModal="() => {openedEmail = null;}">
|
||||||
<ModalView v-if="!!openedEmail" :closeModal="() => {openedEmail = null;}">
|
<MailView :email="openedEmail" @changeEmail="(args) => changeEmail(emails, args)" />
|
||||||
<MailView :email="openedEmail" @changeEmail="(args) => changeEmail(emails, args)" />
|
</ModalView>
|
||||||
</ModalView>
|
|
||||||
</portal>
|
|
||||||
</table>
|
</table>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user