From 4fe417b3bfd43cd9e1109172719369c7180ddfb6 Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Tue, 3 Nov 2020 16:01:25 -0500 Subject: [PATCH] leap: provide inbox icon --- pkg/interface/src/views/components/leap/OmniboxResult.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/interface/src/views/components/leap/OmniboxResult.js b/pkg/interface/src/views/components/leap/OmniboxResult.js index 92ef7daa1e..5c8e419f6a 100644 --- a/pkg/interface/src/views/components/leap/OmniboxResult.js +++ b/pkg/interface/src/views/components/leap/OmniboxResult.js @@ -30,19 +30,20 @@ export class OmniboxResult extends Component { const sigilFill = (this.state.hovered || (selected === link)) ? '#3a8ff7' : '#ffffff'; let graphic =
; - if (defaultApps.includes(icon.toLowerCase()) || icon.toLowerCase() === 'links') { + if (defaultApps.includes(icon.toLowerCase()) || icon.toLowerCase() === 'links' || icon === 'inbox') { + icon = (icon === 'inbox') ? 'Inbox' : icon; icon = (icon === 'Link') ? 'Links' : icon; graphic = ; } else if (icon === 'logout') { graphic = ; } else if (icon === 'profile') { - graphic = ; + graphic = ; } else if (icon === 'home') { graphic = ; } else if (icon === 'notifications') { graphic = ; } else { - graphic = ; + graphic = ; } return graphic;