mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:46:38 +00:00
fix: plugin manager keywords (#3809)
This commit is contained in:
parent
0dc0d329f8
commit
66229cc92b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user