Merge pull request #304 from CatalystCode/iss292
Removed code editor loading screen for empty string
This commit is contained in:
Коммит
5d37d9eda2
|
@ -162,7 +162,7 @@ export default class Editor extends React.PureComponent<IEditorProps, IEditorSta
|
|||
];
|
||||
|
||||
const actions = !value ? null : actionButtons;
|
||||
const content = !value ? this.renderLoading() : this.renderEditor(value, theme);
|
||||
const content = value !== null ? this.renderEditor(value, theme) : this.renderLoading();
|
||||
|
||||
return (
|
||||
<Dialog
|
||||
|
|
Загрузка…
Ссылка в новой задаче