mirror of https://github.com/sualko/cloud_bbb
feat: manage view of rooms for moderators and users
parent
ab314393e9
commit
7f1760c372
|
@ -194,7 +194,11 @@ const RoomRow: React.FC<Props> = (props) => {
|
||||||
return <span></span>;
|
return <span></span>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
function edit(field: string, type: 'text' | 'number' = 'text', canEdit = true, options?) {
|
function edit(field: string, type: 'text' | 'number' = 'text', canEdit = true, options?) {
|
||||||
|
=======
|
||||||
|
function edit(field: string, type: 'text' | 'number' = 'text', canEdit: boolean = true, options?) {
|
||||||
|
>>>>>>> 63daf83 (feat: manage view of rooms for moderators and users)
|
||||||
return canEdit ?
|
return canEdit ?
|
||||||
<EditableValue field={field} value={room[field]} setValue={updateRoom} type={type} options={options} />
|
<EditableValue field={field} value={room[field]} setValue={updateRoom} type={type} options={options} />
|
||||||
:
|
:
|
||||||
|
|
Loading…
Reference in New Issue