diff --git a/lib/app/App.js b/lib/app/App.js index 9d1c64068e..575d2cba00 100644 --- a/lib/app/App.js +++ b/lib/app/App.js @@ -88,8 +88,8 @@ export default { }, loadLayout (layout) { const undef = !layout - const inexisting = !(layouts[`_${layout}`] || resolvedLayouts[`_` + layout]) - let _layout = `_${(undef || inexisting) ? 'default' : layout}` + const inexisting = !(layouts['_' + layout] || resolvedLayouts['_' + layout]) + let _layout = '_' + ((undef || inexisting) ? 'default' : layout) if (resolvedLayouts[_layout]) { return Promise.resolve(resolvedLayouts[_layout]) }