[FIX] Read only description in team creation (#23213)

pull/23373/head
Douglas Fabris 5 years ago committed by GitHub
parent 1484996819
commit 4274267c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      client/views/teams/CreateTeamModal/CreateTeamModal.tsx

@ -298,7 +298,11 @@ const CreateTeamModal: FC<CreateTeamModalProps> = ({ onClose }) => {
<Box display='flex' justifyContent='space-between' alignItems='start'>
<Box display='flex' flexDirection='column' width='full'>
<Field.Label>{t('Teams_New_Read_only_Label')}</Field.Label>
<Field.Description>{t('Teams_New_Read_only_Description')}</Field.Description>
<Field.Description>
{readOnly
? t('Only_authorized_users_can_write_new_messages')
: t('Teams_New_Read_only_Description')}
</Field.Description>
</Box>
<ToggleSwitch
checked={readOnly}

Loading…
Cancel
Save