From 478c7920ead8a222155bb4ce2fa60619dad6f3e8 Mon Sep 17 00:00:00 2001 From: Eugene Sotski Date: Thu, 1 May 2025 19:44:20 +0300 Subject: [PATCH] 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". --- web/src/components/settings/SearchSettings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/settings/SearchSettings.tsx b/web/src/components/settings/SearchSettings.tsx index 74301ee1d..7335b5c2d 100644 --- a/web/src/components/settings/SearchSettings.tsx +++ b/web/src/components/settings/SearchSettings.tsx @@ -92,7 +92,7 @@ export default function ExploreSettings({ - {!isMobileOnly && ( + {!isMobileOnly && defaultView == "grid" && ( <>