From 66229cc92bf87f87a2d84620540fd5e04d9e59a6 Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Mon, 25 Mar 2024 09:51:57 +0800 Subject: [PATCH] fix: plugin manager keywords (#3809) --- packages/core/client/src/pm/PluginManager.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/pm/PluginManager.tsx b/packages/core/client/src/pm/PluginManager.tsx index 0250e3f915..e097a62c8b 100644 --- a/packages/core/client/src/pm/PluginManager.tsx +++ b/packages/core/client/src/pm/PluginManager.tsx @@ -92,7 +92,7 @@ const LocalPlugins = () => { const keyWordsfilterList = useMemo(() => { const list = keyWordlists.map((i) => { if (i === 'Others') { - const result = data?.data.filter((v) => !v.keywords); + const result = data?.data.filter((v) => !v.keywords || !v.keywords.every((k) => keyWordlists.includes(k))); return { key: i, list: result,