fix portals/teleports

This commit is contained in:
Henry Jameson 2021-04-25 13:45:47 +03:00
parent caed89f0ae
commit 709b75198d
2 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@
<UserReportingModal />
<PostStatusModal />
<SettingsModal />
<portal-target name="modal" />
<div id="modal"/>
<GlobalNoticeList />
</div>
</template>

View file

@ -131,7 +131,7 @@
<FAIcon icon="chevron-down" />
</button>
</Popover>
<portal to="modal">
<teleport to="#modal">
<DialogModal
v-if="showDeleteUserDialog"
:on-cancel="deleteUserDialog.bind(this, false)"
@ -155,7 +155,7 @@
</button>
</template>
</DialogModal>
</portal>
</teleport>
</div>
</template>