mirror of
https://github.com/strapi/strapi.git
synced 2025-11-12 16:22:10 +00:00
fix syntax
This commit is contained in:
parent
8839ecc2b9
commit
e37e588887
@ -27,11 +27,7 @@ import adminPermissions from '../../permissions';
|
|||||||
|
|
||||||
const matchSearch = (plugins, search) => {
|
const matchSearch = (plugins, search) => {
|
||||||
return matchSorter(plugins, toLower(search), {
|
return matchSorter(plugins, toLower(search), {
|
||||||
keys: [
|
keys: [item => toLower(item.attributes.name), item => toLower(item.attributes.description)],
|
||||||
item => {
|
|
||||||
return [toLower(item.attributes.name), toLower(item.attributes.description)];
|
|
||||||
},
|
|
||||||
],
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user