mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Remove bad checks for emoji picker preview feature (#6861)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user