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:
Eugene Sotski 2025-05-01 19:44:20 +03:00
parent 92f7b54371
commit 478c7920ea

View File

@ -92,7 +92,7 @@ export default function ExploreSettings({
</SelectContent>
</Select>
</div>
{!isMobileOnly && (
{!isMobileOnly && defaultView == "grid" && (
<>
<DropdownMenuSeparator />
<div className="flex w-full flex-col space-y-4">