Unverified Commit bc5f59e1 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #2291 from ethereum/search

updated search to filter with displayName
parents 6c798b22 157560d5
...@@ -141,7 +141,7 @@ class PluginManagerComponent extends ViewPlugin { ...@@ -141,7 +141,7 @@ class PluginManagerComponent extends ViewPlugin {
render () { render () {
// Filtering helpers // Filtering helpers
const isFiltered = (api) => api.name.toLowerCase().includes(this.filter) const isFiltered = (api) => (api.profile.displayName ? api.profile.displayName : api.name).toLowerCase().includes(this.filter)
const isNotRequired = ({profile}) => !this.appManager.isRequired(profile.name) const isNotRequired = ({profile}) => !this.appManager.isRequired(profile.name)
const isNotHome = ({profile}) => profile.name !== 'home' const isNotHome = ({profile}) => profile.name !== 'home'
const sortByName = (a, b) => { const sortByName = (a, b) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment