mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
leap: return 'other' first, lowercase groups
This commit is contained in:
parent
ae5561ee61
commit
83bfc22450
@ -55,7 +55,7 @@ export class Omnibox extends Component {
|
||||
}
|
||||
|
||||
getSearchedCategories() {
|
||||
return ['commands', 'groups', 'subscriptions', 'apps', 'other'];
|
||||
return ['other', 'commands', 'groups', 'subscriptions', 'apps'];
|
||||
}
|
||||
|
||||
control(evt) {
|
||||
@ -154,7 +154,7 @@ export class Omnibox extends Component {
|
||||
result.title.toLowerCase().includes(query) ||
|
||||
result.link.toLowerCase().includes(query) ||
|
||||
result.app.toLowerCase().includes(query) ||
|
||||
(result.host !== null ? result.host.includes(query) : false)
|
||||
(result.host !== null ? result.host.toLowerCase().includes(query) : false)
|
||||
);
|
||||
})
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user