diff --git a/ts/Manager/RoomRow.tsx b/ts/Manager/RoomRow.tsx index c8fce33..c07b0c1 100644 --- a/ts/Manager/RoomRow.tsx +++ b/ts/Manager/RoomRow.tsx @@ -194,7 +194,7 @@ const RoomRow: React.FC = (props) => { return ; } - 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 ? : @@ -265,7 +265,7 @@ const RoomRow: React.FC = (props) => { } - {adminRoom && + {(adminRoom || true ) && }