Default to multiple column mode if backend doesn't have appropriate seting

master
Thibaut Girka 6 years ago committed by ThibG
parent b222d1ae26
commit 47307e6c13
  1. 2
      app/javascript/flavours/glitch/util/initial_state.js

@ -28,6 +28,6 @@ export const version = getMeta('version');
export const mascot = getMeta('mascot'); export const mascot = getMeta('mascot');
export const isStaff = getMeta('is_staff'); export const isStaff = getMeta('is_staff');
export const defaultContentType = getMeta('default_content_type'); export const defaultContentType = getMeta('default_content_type');
export const forceSingleColumn = !getMeta('advanced_layout'); export const forceSingleColumn = getMeta('advanced_layout') === false;
export default initialState; export default initialState;

Loading…
Cancel
Save