Remove bad checks for emoji picker preview feature (#6861)

Этот коммит содержится в:
Joram Wilander
2017-07-06 08:32:34 -04:00
коммит произвёл GitHub
родитель beac2b0da0
Коммит 97cfe62309
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@@ -571,7 +571,7 @@ export default class CreateComment extends React.Component {
);
let emojiPicker = null;
if (Utils.isFeatureEnabled(Constants.PRE_RELEASE_FEATURES.EMOJI_PICKER_PREVIEW)) {
if (window.mm_config.EnableEmojiPicker === 'true') {
emojiPicker = (
<span>
<EmojiPickerOverlay

Просмотреть файл

@@ -721,7 +721,7 @@ export default class CreatePost extends React.Component {
);
let emojiPicker = null;
if (Utils.isFeatureEnabled(Constants.PRE_RELEASE_FEATURES.EMOJI_PICKER_PREVIEW)) {
if (window.mm_config.EnableEmojiPicker === 'true') {
emojiPicker = (
<span>
<EmojiPickerOverlay