Browse Source

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

closed-social-glitch-2
Thibaut Girka 5 years ago
committed by ThibG
parent
commit
47307e6c13
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/flavours/glitch/util/initial_state.js

+ 1
- 1
app/javascript/flavours/glitch/util/initial_state.js View File

@ -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;

Loading…
Cancel
Save