mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 14:42:02 +03:00
leap: fix react-routing to links
This commit is contained in:
parent
d48772e309
commit
6506390238
@ -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') {
|
||||
if (defaultApps.includes(app.toLowerCase()) || app === 'profile' || app === 'Links') {
|
||||
props.history.push(link);
|
||||
} else {
|
||||
window.location.href = link;
|
||||
|
Loading…
Reference in New Issue
Block a user