PLT-1990 Closed markdown preview when edit post modal is closed (#5921)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
364543c05b
Коммит
4092836c94
@@ -157,6 +157,10 @@ export default class Textbox extends React.Component {
|
||||
this.setState({preview: !this.state.preview});
|
||||
}
|
||||
|
||||
hidePreview() {
|
||||
this.setState({preview: false});
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
if (nextProps.channelId !== this.props.channelId) {
|
||||
// Update channel id for AtMentionProvider.
|
||||
|
||||
Ссылка в новой задаче
Block a user