mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
parent
dd780d1ff9
commit
4894fa2cca
@ -192,7 +192,13 @@ export class Omnibox extends Component {
|
|||||||
|
|
||||||
renderResults() {
|
renderResults() {
|
||||||
const { props, state } = this;
|
const { props, state } = this;
|
||||||
return <Box maxHeight="400px" overflowY="scroll" overflowX="hidden">
|
return <Box
|
||||||
|
maxHeight="400px"
|
||||||
|
overflowY="scroll"
|
||||||
|
overflowX="hidden"
|
||||||
|
borderBottomLeftRadius='2'
|
||||||
|
borderBottomRightRadius='2'
|
||||||
|
>
|
||||||
{this.getSearchedCategories()
|
{this.getSearchedCategories()
|
||||||
.map(category => Object({ category, categoryResults: state.results.get(category) }))
|
.map(category => Object({ category, categoryResults: state.results.get(category) }))
|
||||||
.filter(category => category.categoryResults.length > 0)
|
.filter(category => category.categoryResults.length > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user