From 6506390238af672504faff2e95c857916bcb9668 Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Thu, 24 Sep 2020 20:19:22 -0400 Subject: [PATCH] leap: fix react-routing to links --- pkg/interface/src/views/components/leap/Omnibox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/interface/src/views/components/leap/Omnibox.js b/pkg/interface/src/views/components/leap/Omnibox.js index bedbee1dce..0ecb29b9b0 100644 --- a/pkg/interface/src/views/components/leap/Omnibox.js +++ b/pkg/interface/src/views/components/leap/Omnibox.js @@ -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;