From 36c74d7b47253249ec83aedacf409a93de1d182f Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Mon, 3 Apr 2017 08:42:05 -0400 Subject: PLT-5873 Renamed private groups to private channels (#5924) * PLT-5873 Renamed private groups to private channels in web app * PLT-5873 Renamed private groups to private channels in server --- webapp/components/new_channel_modal.jsx | 33 ++++++--------------------------- 1 file changed, 6 insertions(+), 27 deletions(-) (limited to 'webapp/components/new_channel_modal.jsx') diff --git a/webapp/components/new_channel_modal.jsx b/webapp/components/new_channel_modal.jsx index f16b4596f..b515d5469 100644 --- a/webapp/components/new_channel_modal.jsx +++ b/webapp/components/new_channel_modal.jsx @@ -135,7 +135,7 @@ export default class NewChannelModal extends React.Component { > ); @@ -151,33 +151,20 @@ export default class NewChannelModal extends React.Component { createPrivateChannelLink = null; } - var channelTerm = ''; var channelSwitchText = ''; switch (this.props.channelType) { case 'P': - channelTerm = ( - - ); channelSwitchText = (
{createPublicChannelLink}
); break; case 'O': - channelTerm = ( - - ); channelSwitchText = (
- {channelTerm}

@@ -319,10 +302,7 @@ export default class NewChannelModal extends React.Component {

{serverError} @@ -348,9 +328,8 @@ export default class NewChannelModal extends React.Component { > - {channelTerm} -- cgit v1.2.3-1-g7c22