mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +03:00
leap: redirect to notifications correctly
This commit is contained in:
parent
83bdc143f7
commit
437757c584
@ -117,7 +117,7 @@ export class Omnibox extends Component {
|
||||
const { props } = this;
|
||||
this.setState({ results: this.initialResults(), query: '' }, () => {
|
||||
props.api.local.setOmnibox();
|
||||
if (defaultApps.includes(app.toLowerCase()) || app === 'profile' || app === 'Links' || app === 'home') {
|
||||
if (defaultApps.includes(app.toLowerCase()) || app === 'profile' || app === 'Links' || app === 'home' || app === 'inbox') {
|
||||
props.history.push(link);
|
||||
} else {
|
||||
window.location.href = link;
|
||||
|
Loading…
Reference in New Issue
Block a user