about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-06-12 17:15:43 +0200
committerThibG <thib@sitedethib.com>2019-06-13 22:15:31 +0200
commit47307e6c1362d21d09eb907218a483c362f023dc (patch)
tree04a9fbf2817de959fcdd581d77f54c752e5e62a2
parentb222d1ae268cdc7186326f90af3005b2515925f2 (diff)
Default to multiple column mode if backend doesn't have appropriate seting
-rw-r--r--app/javascript/flavours/glitch/util/initial_state.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/util/initial_state.js b/app/javascript/flavours/glitch/util/initial_state.js
index 72fd2e6f4..f42c06a3a 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;