Skip to content

Commit f80d1ea

Browse files
committed
chore: rename to appPortal
1 parent f8e6d70 commit f80d1ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/src/app.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ watch(ui.sidebar.sidebarWidth, () => {
2323
})
2424
2525
// Nuxt UI Portal element
26-
const portal = ref<HTMLElement>()
26+
const appPortal = ref<HTMLElement>()
2727
2828
const activeDocuments = ref<{ id: string, title: string }[]>([])
2929
function detectActiveDocuments() {
@@ -80,7 +80,7 @@ router.beforeEach((to, from) => {
8080

8181
<template>
8282
<div :class="ui.colorMode.value">
83-
<UApp :portal="portal">
83+
<UApp :portal="appPortal">
8484
<AppLayout :open="ui.isOpen.value">
8585
<RouterView v-slot="{ Component }">
8686
<Transition
@@ -145,7 +145,7 @@ router.beforeEach((to, from) => {
145145
</UFieldGroup>
146146
</div>
147147

148-
<div ref="portal" />
148+
<div ref="appPortal" />
149149
</UApp>
150150
</div>
151151
</template>

0 commit comments

Comments
 (0)