Allowed post formatting to be disabled regardless of whether EnableDeveloper is set (#3975)

Этот коммит содержится в:
Harrison Healey
2016-09-06 16:41:10 -04:00
коммит произвёл enahum
родитель 16a8d3d016
Коммит 12e48ca7b2
2 изменённых файлов: 11 добавлений и 8 удалений

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

@@ -160,10 +160,6 @@ export default class AdvancedSettingsDisplay extends React.Component {
}
renderFormattingSection() {
if (window.mm_config.EnableDeveloper === 'false') {
return null;
}
if (this.props.activeSection === 'formatting') {
return (
<SettingItemMax