From d09d42b26964150ecb7e2742ef8af4a802cfd056 Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Wed, 28 Oct 2020 15:58:59 +1000 Subject: [PATCH] hark-fe: enable omnibox support --- pkg/interface/src/logic/lib/omnibox.js | 1 + pkg/interface/src/views/components/leap/OmniboxResult.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/pkg/interface/src/logic/lib/omnibox.js b/pkg/interface/src/logic/lib/omnibox.js index 3c3de5dce5..851f93bca1 100644 --- a/pkg/interface/src/logic/lib/omnibox.js +++ b/pkg/interface/src/logic/lib/omnibox.js @@ -55,6 +55,7 @@ const appIndex = function (apps) { const otherIndex = function() { const other = []; other.push(result('Home', '/~landscape/home', 'home', null)); + other.push(result('Notifications', '/~notifications', 'inbox', null)); other.push(result('Profile and Settings', '/~profile/identity', 'profile', null)); other.push(result('Log Out', '/~/logout', 'logout', null)); diff --git a/pkg/interface/src/views/components/leap/OmniboxResult.js b/pkg/interface/src/views/components/leap/OmniboxResult.js index 6bc2079b72..92ef7daa1e 100644 --- a/pkg/interface/src/views/components/leap/OmniboxResult.js +++ b/pkg/interface/src/views/components/leap/OmniboxResult.js @@ -39,6 +39,8 @@ export class OmniboxResult extends Component { graphic = ; } else if (icon === 'home') { graphic = ; + } else if (icon === 'notifications') { + graphic = ; } else { graphic = ; }