summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_select.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/channel_select.jsx')
-rw-r--r--webapp/components/channel_select.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/channel_select.jsx b/webapp/components/channel_select.jsx
index 8622d1f57..238cfa1ae 100644
--- a/webapp/components/channel_select.jsx
+++ b/webapp/components/channel_select.jsx
@@ -54,7 +54,7 @@ export default class ChannelSelect extends React.Component {
];
this.state.channels.forEach((channel) => {
- if (channel.type !== Constants.DM_CHANNEL) {
+ if (channel.type === Constants.OPEN_CHANNEL) {
options.push(
<option
key={channel.id}