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 /> <UserReportingModal />
<PostStatusModal /> <PostStatusModal />
<SettingsModal /> <SettingsModal />
<portal-target name="modal" /> <div id="modal"/>
<GlobalNoticeList /> <GlobalNoticeList />
</div> </div>
</template> </template>

View file

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