feat: manage view of rooms for moderators and users

pull/281/head
Sebastien Marinier 2024-05-15 17:39:59 +02:00 committed by Sebastien Marinier
parent ab314393e9
commit 7f1760c372
1 changed files with 4 additions and 0 deletions

View File

@ -194,7 +194,11 @@ const RoomRow: React.FC<Props> = (props) => {
return <span></span>;
}
<<<<<<< HEAD
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 ?
<EditableValue field={field} value={room[field]} setValue={updateRoom} type={type} options={options} />
: