From 210610386f685d0f7d720cd92ebe3123d7f60c6e Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Wed, 12 Jun 2019 17:15:43 +0200 Subject: [PATCH] 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(-) diff --git a/app/javascript/flavours/glitch/util/initial_state.js b/app/javascript/flavours/glitch/util/initial_state.js index 72fd2e6f4c..f42c06a3ae 100644 --- a/app/javascript/flavours/glitch/util/initial_state.js +++ b/app/javascript/flavours/glitch/util/initial_state.js @@ -28,6 +28,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;