fix: plugin manager keywords (#3809)
This commit is contained in:
parent
0dc0d329f8
commit
66229cc92b
@ -92,7 +92,7 @@ const LocalPlugins = () => {
|
|||||||
const keyWordsfilterList = useMemo(() => {
|
const keyWordsfilterList = useMemo(() => {
|
||||||
const list = keyWordlists.map((i) => {
|
const list = keyWordlists.map((i) => {
|
||||||
if (i === 'Others') {
|
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 {
|
return {
|
||||||
key: i,
|
key: i,
|
||||||
list: result,
|
list: result,
|
||||||
|
Loading…
Reference in New Issue
Block a user