From a8591150de01066a6a6c33ff8c8c0cf3d3cccf03 Mon Sep 17 00:00:00 2001 From: Sebastien Marinier Date: Mon, 19 Aug 2024 11:18:56 +0200 Subject: [PATCH] fix: don't use backticks Use concatenated strings --- ts/Manager/EditRoomDialog.tsx | 2 +- ts/Manager/RecordingRow.tsx | 4 ++-- ts/Manager/ShareWith.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ts/Manager/EditRoomDialog.tsx b/ts/Manager/EditRoomDialog.tsx index 63c7ae1..9c4da00 100644 --- a/ts/Manager/EditRoomDialog.tsx +++ b/ts/Manager/EditRoomDialog.tsx @@ -132,7 +132,7 @@ const EditRoomDialog: React.FC = ({ room, restriction, updateProperty, op {room.access === Access.InternalRestricted &&
- {`${t('bbb', 'Access')} : ${descriptions.internalRestrictedShareWith}`} + {t('bbb', 'Access') + ' : ' + descriptions.internalRestrictedShareWith}
} diff --git a/ts/Manager/RecordingRow.tsx b/ts/Manager/RecordingRow.tsx index 6279b28..2f4235a 100644 --- a/ts/Manager/RecordingRow.tsx +++ b/ts/Manager/RecordingRow.tsx @@ -16,12 +16,12 @@ const RecordingRow: React.FC = ({recording, isAdmin, deleteRecording, sto function checkPublished(recording: Recording, onChange: (value: boolean) => void) { return (
- onChange(event.target.checked)} /> - +
); } diff --git a/ts/Manager/ShareWith.tsx b/ts/Manager/ShareWith.tsx index 8041b7f..e3b9219 100644 --- a/ts/Manager/ShareWith.tsx +++ b/ts/Manager/ShareWith.tsx @@ -107,7 +107,7 @@ const ShareWith: React.FC = ({ room, permission, shares: allShares, setSh
{displayName} - {(share.id === ROOM_OWNER_ID || !isOwner) && ` (${permissionLabel(share.permission)})`} + {(share.id === ROOM_OWNER_ID || !isOwner) && (' (' + permissionLabel(share.permission) + ')')}
{(share.id > ROOM_OWNER_ID && isOwner) && selectPermission(share.permission, (value) => {