diff --git a/webapp/components/edit_channel_header_modal.jsx b/webapp/components/edit_channel_header_modal.jsx index ea411357d1..d7ef1d81fc 100644 --- a/webapp/components/edit_channel_header_modal.jsx +++ b/webapp/components/edit_channel_header_modal.jsx @@ -129,6 +129,26 @@ class EditChannelHeaderModal extends React.Component { serverError =

; } + let headerTitle = null; + if (this.props.channel.type === Constants.DM_CHANNEL) { + headerTitle = ( + + ); + } else { + headerTitle = ( + + ); + } + return ( - + {headerTitle} diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index 419721fb94..fcaf3e9e64 100644 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -865,6 +865,7 @@ "edit_channel_header_modal.error": "This channel header is too long, please enter a shorter one", "edit_channel_header_modal.save": "Save", "edit_channel_header_modal.title": "Edit Header for {channel}", + "edit_channel_header_modal.title_dm": "Edit Header", "edit_channel_purpose_modal.body": "Describe how this {type} should be used. This text appears in the channel list in the \"More...\" menu and helps others decide whether to join.", "edit_channel_purpose_modal.cancel": "Cancel", "edit_channel_purpose_modal.channel": "Channel",