fix: don't use backticks

Use concatenated strings
pull/281/head
Sebastien Marinier 2024-08-19 11:18:56 +02:00
parent 858753022b
commit a8591150de
3 changed files with 4 additions and 4 deletions

View File

@ -132,7 +132,7 @@ const EditRoomDialog: React.FC<Props> = ({ room, restriction, updateProperty, op
{room.access === Access.InternalRestricted &&
<div className="bbb-form-element bbb-form-shareWith">
<span className="icon icon-details icon-visible"></span><em>{`${t('bbb', 'Access')} : ${descriptions.internalRestrictedShareWith}`}</em>
<span className="icon icon-details icon-visible"></span><em>{t('bbb', 'Access') + ' : ' + descriptions.internalRestrictedShareWith}</em>
</div>
}

View File

@ -16,12 +16,12 @@ const RecordingRow: React.FC<Props> = ({recording, isAdmin, deleteRecording, sto
function checkPublished(recording: Recording, onChange: (value: boolean) => void) {
return (
<div>
<input id={`bbb-record-state-${recording.id}`}
<input id={'bbb-record-state-' + recording.id}
type="checkbox"
className="checkbox"
checked={recording.state === 'published'}
onChange={(event) => onChange(event.target.checked)} />
<label htmlFor={`bbb-record-state-${recording.id}`}>{t('bbb', 'Published')}</label>
<label htmlFor={'bbb-record-state-' + recording.id}>{t('bbb', 'Published')}</label>
</div>
);
}

View File

@ -107,7 +107,7 @@ const ShareWith: React.FC<Props> = ({ room, permission, shares: allShares, setSh
</div>
<div className="bbb-shareWith__item__label">
<h5>{displayName}
{(share.id === ROOM_OWNER_ID || !isOwner) && ` (${permissionLabel(share.permission)})`}
{(share.id === ROOM_OWNER_ID || !isOwner) && (' (' + permissionLabel(share.permission) + ')')}
</h5>
</div>
{(share.id > ROOM_OWNER_ID && isOwner) && selectPermission(share.permission, (value) => {