about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-06-12 17:15:43 +0200
committermultiple creatures <dev@multiple-creature.party>2020-02-22 01:29:42 -0600
commit2fd450bdd4f0c85f559a441a56d943d27ed6655c (patch)
treee4e1cdcde6cbefb42c9c0559f9a72a63ff14fca6 /app
parent5ac7374113b1ad31f4ec63efbf4d48b11c284559 (diff)
Default to multiple column mode if backend doesn't have appropriate seting
Diffstat (limited to 'app')
-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 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;