From f9871fe60b7c6300e746605948eb690b8e48aecc Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Fri, 27 Jul 2018 20:09:31 -0230 Subject: Open UI in browser post-new-UI-switch --- old-ui/app/components/app-bar.js | 1 + old-ui/app/new-ui-annoucement.js | 1 + 2 files changed, 2 insertions(+) diff --git a/old-ui/app/components/app-bar.js b/old-ui/app/components/app-bar.js index 4253c5f28..8ab647efd 100644 --- a/old-ui/app/components/app-bar.js +++ b/old-ui/app/components/app-bar.js @@ -83,6 +83,7 @@ module.exports = class AppBar extends Component { h('span.banner__link', { async onClick () { await dispatch(actions.setFeatureFlag('betaUI', true)) + global.platform.openExtensionInBrowser() }, }, [ 'Now', diff --git a/old-ui/app/new-ui-annoucement.js b/old-ui/app/new-ui-annoucement.js index a20dae2f8..59b126279 100644 --- a/old-ui/app/new-ui-annoucement.js +++ b/old-ui/app/new-ui-annoucement.js @@ -20,6 +20,7 @@ module.exports = class NewUiAnnouncement extends PureComponent { enabled, )) await this.close() + global.platform.openExtensionInBrowser() } render () { -- cgit v1.2.3