commit: 709b75198d4e7051c7e1d310379bfeddad5c411f
parent caed89f0ae64217602a2832bbf2b5df9b66c0999
Author: Henry Jameson <me@hjkos.com>
Date: Sun, 25 Apr 2021 13:45:47 +0300
fix portals/teleports
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/App.vue b/src/App.vue
@@ -58,7 +58,7 @@
<UserReportingModal />
<PostStatusModal />
<SettingsModal />
- <portal-target name="modal" />
+ <div id="modal"/>
<GlobalNoticeList />
</div>
</template>
diff --git a/src/components/moderation_tools/moderation_tools.vue b/src/components/moderation_tools/moderation_tools.vue
@@ -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>