mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
Restrict desktop dropdown menu to grid view only.
Previously, the dropdown menu appeared on all desktop views, causing inconsistency. This update ensures it is displayed only when the default view is set to "grid".
This commit is contained in:
parent
92f7b54371
commit
478c7920ea
@ -92,7 +92,7 @@ export default function ExploreSettings({
|
|||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
</div>
|
</div>
|
||||||
{!isMobileOnly && (
|
{!isMobileOnly && defaultView == "grid" && (
|
||||||
<>
|
<>
|
||||||
<DropdownMenuSeparator />
|
<DropdownMenuSeparator />
|
||||||
<div className="flex w-full flex-col space-y-4">
|
<div className="flex w-full flex-col space-y-4">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user