mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
fix bug with search detail dialog not opening
This commit is contained in:
parent
37e82f8163
commit
d3c386a67c
@ -150,7 +150,14 @@ export default function SearchDetailDialog({
|
|||||||
const Description = isDesktop ? DialogDescription : MobilePageDescription;
|
const Description = isDesktop ? DialogDescription : MobilePageDescription;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Overlay open={isOpen} onOpenChange={() => setIsOpen(!isOpen)}>
|
<Overlay
|
||||||
|
open={isOpen}
|
||||||
|
onOpenChange={() => {
|
||||||
|
if (search) {
|
||||||
|
setSearch(undefined);
|
||||||
|
}
|
||||||
|
}}
|
||||||
|
>
|
||||||
<Content
|
<Content
|
||||||
className={cn(
|
className={cn(
|
||||||
"scrollbar-container overflow-y-auto",
|
"scrollbar-container overflow-y-auto",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user