diff --git a/web/react/components/new_channel.jsx b/web/react/components/new_channel.jsx index 6cf1957952..93884f6ebb 100644 --- a/web/react/components/new_channel.jsx +++ b/web/react/components/new_channel.jsx @@ -53,7 +53,7 @@ module.exports = React.createClass({ channel.team_id = cu.team_id; channel.description = this.refs.channel_desc.getDOMNode().value.trim(); - channel.type = this.state.channel_type; + channel.type = this.state.channelType; var self = this; client.createChannel(channel,