fix: clear email selection when returning to list on mobile
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}"
|
}"
|
||||||
x-init="$watch('selectedId', value => { if(value && window.innerWidth < 1024) mobileView = 'detail' })"
|
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">
|
@resize.window="if (window.innerWidth >= 1280) sidebarOpen = true">
|
||||||
|
|
||||||
<!-- Global Confirmation Modal -->
|
<!-- Global Confirmation Modal -->
|
||||||
|
|||||||
Reference in New Issue
Block a user