[FIX] Correcting a the wrong Archived label in edit room (#21717)

pull/21999/head
Jean 4 years ago committed by GitHub
parent 855bb66126
commit e9cd56d4a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      client/views/admin/rooms/EditRoom.js
  2. 2
      client/views/room/contextualBar/Info/EditRoomInfo/EditChannel.js

@ -257,7 +257,7 @@ function EditRoom({ room, onChange }) {
<Field>
<Field.Row>
<Box display='flex' flexDirection='row' justifyContent='space-between' flexGrow={1}>
<Field.Label>{t('Archived')}</Field.Label>
<Field.Label>{t('Room_archivation_state_true')}</Field.Label>
<ToggleSwitch disabled={deleted} checked={archived} onChange={handleArchived} />
</Box>
</Field.Row>

@ -398,7 +398,7 @@ function EditChannel({ room, onClickClose, onClickBack }) {
{canViewArchived && (
<Field>
<Box display='flex' flexDirection='row' justifyContent='space-between' flexGrow={1}>
<Field.Label>{t('Archived')}</Field.Label>
<Field.Label>{t('Room_archivation_state_true')}</Field.Label>
<Field.Row>
<ToggleSwitch
disabled={!canArchiveOrUnarchive}

Loading…
Cancel
Save