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>