fix(livewire): resolve Echo not found error due to lazy loading timing
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<div class="flex h-full bg-zinc-950 overflow-hidden relative"
|
||||
data-requires-reverb="true"
|
||||
x-data="{
|
||||
sidebarOpen: window.innerWidth >= 1280,
|
||||
selectedId: @entangle('selectedEmailId'),
|
||||
@@ -20,7 +21,7 @@
|
||||
});
|
||||
}
|
||||
}"
|
||||
x-init="window.startReverb(); $watch('selectedId', value => { if(value && window.innerWidth < 1024) mobileView = 'detail' }); $watch('mobileView', value => { if(value === 'list' && window.innerWidth < 1024) selectedId = null })"
|
||||
x-init="$watch('selectedId', value => { if(value && window.innerWidth < 1024) mobileView = 'detail' }); $watch('mobileView', value => { if(value === 'list' && window.innerWidth < 1024) selectedId = null })"
|
||||
@resize.window="if (window.innerWidth >= 1280) sidebarOpen = true">
|
||||
|
||||
<!-- Global Confirmation Modal -->
|
||||
|
||||
Reference in New Issue
Block a user