summaryrefslogtreecommitdiffstats
path: root/webapp/components/rename_channel_modal.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/rename_channel_modal.jsx')
-rw-r--r--webapp/components/rename_channel_modal.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/rename_channel_modal.jsx b/webapp/components/rename_channel_modal.jsx
index 3eaab834f..5253b1c80 100644
--- a/webapp/components/rename_channel_modal.jsx
+++ b/webapp/components/rename_channel_modal.jsx
@@ -122,7 +122,7 @@ export class RenameChannelModal extends React.Component {
const channel = Object.assign({}, this.props.channel);
const oldName = channel.name;
- const oldDisplayName = channel.displayName;
+ const oldDisplayName = channel.display_name;
const state = {serverError: ''};
const {formatMessage} = this.props.intl;