mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 08:34:25 +03:00
Merge pull request #3795 from urbit/mp/leap/reorg
leap: return 'other' first, lowercase groups
This commit is contained in:
commit
dd6c26e0e3
@ -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