mirror of https://github.com/sualko/cloud_bbb
feat: sharing rooms with moderators and users
Dialog and permissions managementpull/281/head
parent
4095cbe52d
commit
558cc95231
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue