feat: sharing rooms with moderators and users

Dialog and permissions management
pull/281/head
Sebastien Marinier 2024-05-29 17:09:06 +02:00 committed by Sebastien Marinier
parent 4095cbe52d
commit 558cc95231
1 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ const RoomRow: React.FC<Props> = (props) => {
return <span></span>;
}
function edit(field: string, type: 'text' | 'number' = 'text', canEdit: boolean = true, options?) {
function edit(field: string, type: 'text' | 'number' = 'text', canEdit = true, options?) {
return canEdit ?
<EditableValue field={field} value={room[field]} setValue={updateRoom} type={type} options={options} />
:
@ -265,7 +265,7 @@ const RoomRow: React.FC<Props> = (props) => {
</td>
}
<td className="bbb-shrink">
{adminRoom &&
{(adminRoom || true ) &&
<RecordingsNumber recordings={recordings} showRecordings={showRecordings} setShowRecordings={setShowRecordings} />
}
</td>