summaryrefslogtreecommitdiffstats
path: root/webapp/components/navbar.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/navbar.jsx')
-rw-r--r--webapp/components/navbar.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/components/navbar.jsx b/webapp/components/navbar.jsx
index 25c458523..43411c2cf 100644
--- a/webapp/components/navbar.jsx
+++ b/webapp/components/navbar.jsx
@@ -555,8 +555,7 @@ export default class Navbar extends React.Component {
);
}
- const canLeave = channel.type === Constants.PRIVATE_CHANNEL ? this.state.userCount > 1 : true;
- if (!ChannelStore.isDefault(channel) && canLeave) {
+ if (!ChannelStore.isDefault(channel)) {
leaveChannelOption = (
<li role='presentation'>
<a