mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-06 14:49:17 +01:00
💄 Calendar close modal on click when opened (#1396)
This commit is contained in:
@@ -65,7 +65,7 @@ export const CalendarDay = ({ date, medias, size }: CalendarDayProps) => {
|
||||
>
|
||||
<Popover.Target>
|
||||
<Container
|
||||
onClick={medias.totalCount > 0 ? open : undefined}
|
||||
onClick={medias.totalCount > 0 && !opened ? open : close}
|
||||
h="100%"
|
||||
w="100%"
|
||||
sx={{
|
||||
|
||||
Reference in New Issue
Block a user