mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 19:36:20 +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) => {
|
||||
return matchSorter(plugins, toLower(search), {
|
||||
keys: [
|
||||
item => {
|
||||
return [toLower(item.attributes.name), toLower(item.attributes.description)];
|
||||
},
|
||||
],
|
||||
keys: [item => toLower(item.attributes.name), item => toLower(item.attributes.description)],
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user