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