summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
Diffstat (limited to 'web/react')
-rw-r--r--web/react/components/new_channel.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/new_channel.jsx b/web/react/components/new_channel.jsx
index 6cf195795..93884f6eb 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,