From e9a1a8d3d9ee9a952f5552fc708b0e3830b21dd1 Mon Sep 17 00:00:00 2001 From: Nick Frazier Date: Tue, 20 Dec 2016 08:56:45 -0500 Subject: GH-4685 Post a System Message when channel is renamed (#4762) * test changes * added system message when displayname changed * added test * gofmt --- webapp/components/rename_channel_modal.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components/rename_channel_modal.jsx') 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; -- cgit v1.2.3-1-g7c22