diff options
author | Florian Orben <florian.orben@gmail.com> | 2015-11-27 23:16:56 +0100 |
---|---|---|
committer | Florian Orben <florian.orben@gmail.com> | 2015-11-27 23:17:45 +0100 |
commit | 61a35066b64085d264fbd049e2a57f70125ca65a (patch) | |
tree | 6884d6de5def1622e50f3e6c83dda6792d66782f /web/react/utils/constants.jsx | |
parent | 192b606bc6da20b1148b14116de0a234814615c9 (diff) | |
download | chat-61a35066b64085d264fbd049e2a57f70125ca65a.tar.gz chat-61a35066b64085d264fbd049e2a57f70125ca65a.tar.bz2 chat-61a35066b64085d264fbd049e2a57f70125ca65a.zip |
rename 'featureToggle' to 'isFeatureEnable' and move definition of available prerelease-features to constants.jsx
Diffstat (limited to 'web/react/utils/constants.jsx')
-rw-r--r-- | web/react/utils/constants.jsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx index 31c2b940e..2009e07dd 100644 --- a/web/react/utils/constants.jsx +++ b/web/react/utils/constants.jsx @@ -399,5 +399,11 @@ export default { NotificationPrefs: { MENTION: 'mention' }, - FeatureTogglePrefix: 'feature_enabled_' + FeatureTogglePrefix: 'feature_enabled_', + PRE_RELEASE_FEATURES: { + MARKDOWN_PREVIEW: { + label: 'markdown_preview', // github issue: https://github.com/mattermost/platform/pull/1389 + description: 'Show markdown preview option in message input box' + } + } }; |