From 8723f61f4540c74d5c755d7f9532f8fe199ccb6f Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Thu, 20 Apr 2017 15:58:22 +0200 Subject: implement [PLT-4118] Help text on "Private Channel --> Set Channel Purpose" is incorrect (#6144) --- webapp/components/edit_channel_purpose_modal.jsx | 20 ++++++++++++++++---- webapp/i18n/en.json | 1 + 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/webapp/components/edit_channel_purpose_modal.jsx b/webapp/components/edit_channel_purpose_modal.jsx index 431182f43..a9f4d6c3d 100644 --- a/webapp/components/edit_channel_purpose_modal.jsx +++ b/webapp/components/edit_channel_purpose_modal.jsx @@ -110,6 +110,21 @@ export default class EditChannelPurposeModal extends React.Component { ); } + let channelPurposeModal = ( + + ); + if (this.props.channel.type === 'P') { + channelPurposeModal = ( + + ); + } + return (

- + {channelPurposeModal}