about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/util
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-05-17 10:52:27 +0200
committerThibG <thib@sitedethib.com>2019-05-17 23:51:14 +0200
commit56245a2a7204bb63840e633e923bfd1679c793d9 (patch)
tree40ea4e3088619b9c87ef7310825872582f8e75a4 /app/javascript/flavours/glitch/util
parentdd5bf40b97d42daae855cd05ac13c6efa6cda4f6 (diff)
Export fallback content type and use it as default in WebUI
Diffstat (limited to 'app/javascript/flavours/glitch/util')
-rw-r--r--app/javascript/flavours/glitch/util/initial_state.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/util/initial_state.js b/app/javascript/flavours/glitch/util/initial_state.js
index 62588eeaa..99d8a4dbc 100644
--- a/app/javascript/flavours/glitch/util/initial_state.js
+++ b/app/javascript/flavours/glitch/util/initial_state.js
@@ -27,5 +27,6 @@ export const invitesEnabled = getMeta('invites_enabled');
 export const version = getMeta('version');
 export const mascot = getMeta('mascot');
 export const isStaff = getMeta('is_staff');
+export const defaultContentType = getMeta('default_content_type');
 
 export default initialState;