From a7972c5abd585c5a63d7fdb3973238dec2556c07 Mon Sep 17 00:00:00 2001 From: yyh Date: Fri, 26 Dec 2025 11:41:07 +0800 Subject: [PATCH] fix: correct category handling in MarketplaceContextProvider to default to all plugins --- web/app/components/plugins/marketplace/context.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/plugins/marketplace/context.tsx b/web/app/components/plugins/marketplace/context.tsx index 484fddcdc5..536b9c9fc3 100644 --- a/web/app/components/plugins/marketplace/context.tsx +++ b/web/app/components/plugins/marketplace/context.tsx @@ -121,7 +121,7 @@ export const MarketplaceContextProvider = ({ const tagsFromSearchParams = getValidTagKeys(urlFilters.tags) const hasValidTags = !!tagsFromSearchParams.length const hasValidCategory = getValidCategoryKeys(urlFilters.category) - const categoryFromSearchParams = hasValidCategory || urlFilters.category || PLUGIN_TYPE_SEARCH_MAP.all + const categoryFromSearchParams = hasValidCategory || PLUGIN_TYPE_SEARCH_MAP.all const [searchPluginText, setSearchPluginText] = useState(queryFromSearchParams) const searchPluginTextRef = useRef(searchPluginText)