mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-11 03:13:17 +00:00
fix(ui): resolve "Could not find Livewire component in DOM tree" on What's New click (#11261)
This commit is contained in:
2 files changed
+10
-11
No files matched your search
@@ -81,14 +81,13 @@
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
<template x-if="open">
|
||||
<div @class([
|
||||
'listbox-panel z-[90]! max-h-none! w-52! min-w-0! overflow-visible! animate-in fade-in zoom-in-95 duration-150',
|
||||
'right-0! left-auto!' => ! $sidebar,
|
||||
'bottom-full! left-0! right-auto! top-auto! mb-1!' => $sidebar,
|
||||
'origin-bottom-left' => $sidebar,
|
||||
'origin-top-right' => ! $sidebar,
|
||||
])>
|
||||
<div x-show="open" x-cloak @class([
|
||||
'listbox-panel z-[90]! max-h-none! w-52! min-w-0! overflow-visible! animate-in fade-in zoom-in-95 duration-150',
|
||||
'right-0! left-auto!' => ! $sidebar,
|
||||
'bottom-full! left-0! right-auto! top-auto! mb-1!' => $sidebar,
|
||||
'origin-bottom-left' => $sidebar,
|
||||
'origin-top-right' => ! $sidebar,
|
||||
])>
|
||||
<div class="min-w-0 px-2 py-1.5">
|
||||
<div class="truncate text-[13px] font-semibold text-black dark:text-fg">{{ $userName }}</div>
|
||||
<div class="truncate text-[11px] text-neutral-500 dark:text-fg-faint">{{ $userEmail }}</div>
|
||||
@@ -194,6 +193,5 @@
|
||||
</span>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
@@ -43,7 +43,8 @@ it('changes appearance from a submenu instead of navigating to a separate page',
|
||||
->not->toContain('@change="appearanceOpen = false; open = false"')
|
||||
->toContain('this.appearanceOpen = false;')
|
||||
->toContain('this.open = false;')
|
||||
->toContain('<template x-if="open">')
|
||||
->toContain('<div x-show="open" x-cloak @class([')
|
||||
->not->toContain('<template x-if="open">')
|
||||
->not->toContain('x-show.important="open"')
|
||||
->not->toContain('<div x-show="open" x-cloak x-transition.opacity.duration.120ms')
|
||||
->toContain("['value' => 'light', 'label' => 'Light'")
|
||||
|
||||
Reference in new issue
Block a user