From 47168a70a17ae55b897185c0bfa2f8c7ac915a0a Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Fri, 21 Aug 2015 17:31:14 -0700 Subject: Removes 'for' from the edit channel description modal title when editing the description of a private message channel --- web/react/components/edit_channel_modal.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'web') diff --git a/web/react/components/edit_channel_modal.jsx b/web/react/components/edit_channel_modal.jsx index fc303bbc2..76f0c2c4d 100644 --- a/web/react/components/edit_channel_modal.jsx +++ b/web/react/components/edit_channel_modal.jsx @@ -50,13 +50,18 @@ module.exports = React.createClass({ render: function() { var server_error = this.state.server_error ?

: null; + var editTitle =

Edit Description

; + if (this.state.title) { + editTitle =

Edit Description for {this.state.title}

; + } + return (