From 4e8d8639cb29bd47c110765467393865e1c19f4e Mon Sep 17 00:00:00 2001 From: Alexander Tseung Date: Thu, 26 Oct 2017 23:02:56 -0700 Subject: Fix Settings/Info screen being visible on logout (#2490) --- ui/app/main-container.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ui/app/main-container.js') diff --git a/ui/app/main-container.js b/ui/app/main-container.js index 6e2342c2b..031f61e84 100644 --- a/ui/app/main-container.js +++ b/ui/app/main-container.js @@ -37,11 +37,7 @@ MainContainer.prototype.render = function () { break case 'config': log.debug('rendering config screen from unlock screen.') - contents = { - component: Settings, - key: 'config', - } - break + return h(Settings, {key: 'config'}) default: log.debug('rendering locked screen') contents = { -- cgit