mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-16 21:18:05 +01:00
Compare commits
6 Commits
patch-1
...
chore/cont
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8b4bcbfeb | ||
|
|
6e3c3ba186 | ||
|
|
02f0847732 | ||
|
|
fb72012b01 | ||
|
|
956da52e1f | ||
|
|
3c10dbb0f1 |
@@ -23,7 +23,7 @@
|
|||||||
"joi": "^17.13.3",
|
"joi": "^17.13.3",
|
||||||
"motion-v": "0.13.1",
|
"motion-v": "0.13.1",
|
||||||
"nuxt": "^3.16.2",
|
"nuxt": "^3.16.2",
|
||||||
"nuxt-component-meta": "^0.10.1",
|
"nuxt-component-meta": "https://pkg.pr.new/nuxt-component-meta@9d23978",
|
||||||
"nuxt-llms": "^0.1.2",
|
"nuxt-llms": "^0.1.2",
|
||||||
"nuxt-og-image": "^5.1.2",
|
"nuxt-og-image": "^5.1.2",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
|
|||||||
2490
pnpm-lock.yaml
generated
2490
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,7 @@ export function usePortal(portal: Ref<string | HTMLElement | boolean | undefined
|
|||||||
const portalTarget = inject(portalTargetInjectionKey, undefined)
|
const portalTarget = inject(portalTargetInjectionKey, undefined)
|
||||||
|
|
||||||
const to = computed(() => {
|
const to = computed(() => {
|
||||||
if (typeof portal.value === 'string' || portal.value instanceof HTMLElement) {
|
if (typeof portal.value === 'string' || portal.value) {
|
||||||
return portal.value
|
return portal.value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user