summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webapp/components/edit_channel_header_modal.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/edit_channel_header_modal.jsx b/webapp/components/edit_channel_header_modal.jsx
index 394c0e21c..cfc89500d 100644
--- a/webapp/components/edit_channel_header_modal.jsx
+++ b/webapp/components/edit_channel_header_modal.jsx
@@ -54,7 +54,7 @@ class EditChannelHeaderModal extends React.Component {
}
componentWillReceiveProps(nextProps) {
- if (this.props !== nextProps) {
+ if (this.props.channel.header !== nextProps.channel.header && !this.props.show) {
this.setState({
header: nextProps.channel.header,
submitted: false