From 2fd450bdd4f0c85f559a441a56d943d27ed6655c Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Wed, 12 Jun 2019 17:15:43 +0200 Subject: Default to multiple column mode if backend doesn't have appropriate seting --- app/javascript/flavours/glitch/util/initial_state.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/javascript/flavours/glitch/util/initial_state.js b/app/javascript/flavours/glitch/util/initial_state.js index 0659b0477..da58dc773 100644 --- a/app/javascript/flavours/glitch/util/initial_state.js +++ b/app/javascript/flavours/glitch/util/initial_state.js @@ -30,6 +30,6 @@ export const version = getMeta('version'); export const mascot = getMeta('mascot'); export const isStaff = getMeta('is_staff'); export const defaultContentType = getMeta('default_content_type'); -export const forceSingleColumn = !getMeta('advanced_layout'); +export const forceSingleColumn = getMeta('advanced_layout') === false; export default initialState; -- cgit