From cefa80cee547264d02a38f57131267ad3d421fcf Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Fri, 12 Feb 2021 11:00:24 +1000 Subject: [PATCH] Omnibox: Add Messages to results --- 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 d3397a410..eabb8017e 100644 --- a/pkg/interface/src/logic/lib/omnibox.js +++ b/pkg/interface/src/logic/lib/omnibox.js @@ -75,6 +75,7 @@ const otherIndex = function() { other.push(result('My Channels', '/~landscape/home', 'home', null)); other.push(result('Notifications', '/~notifications', 'inbox', null)); other.push(result('Profile and Settings', `/~profile/~${window.ship}`, 'profile', null)); + other.push(result('Messages', '/~landscape/messages', 'messages', null)); other.push(result('Log Out', '/~/logout', 'logout', null)); return other; diff --git a/pkg/interface/src/views/components/leap/OmniboxResult.js b/pkg/interface/src/views/components/leap/OmniboxResult.js index 3105a1fcd..6e35c7450 100644 --- a/pkg/interface/src/views/components/leap/OmniboxResult.js +++ b/pkg/interface/src/views/components/leap/OmniboxResult.js @@ -56,6 +56,8 @@ export class OmniboxResult extends Component { graphic = ; } else if (icon === 'notifications') { graphic = ; + } else if (icon === 'messages') { + graphic = ; } else { graphic = ; }