mirror of
https://github.com/urbit/shrub.git
synced 2024-12-29 23:23:52 +03:00
Merge pull request #2951 from urbit/m/dbug-searchlist-keys
dbug fe: coax searchable list key into string
This commit is contained in:
commit
8b9ea7870c
@ -33,7 +33,7 @@ export class SearchableList extends Component {
|
||||
|
||||
let items = props.items.filter(item => {
|
||||
return state.query.split(' ').reduce((match, query) => {
|
||||
return match && item.key.includes(query);
|
||||
return match && ('' + item.key).includes(query);
|
||||
}, true);
|
||||
})
|
||||
items = items.map(item =>
|
||||
|
Loading…
Reference in New Issue
Block a user