From 558cc95231ea2b4c82e23fd9059c6ac212d50008 Mon Sep 17 00:00:00 2001 From: Sebastien Marinier Date: Wed, 29 May 2024 17:09:06 +0200 Subject: [PATCH] feat: sharing rooms with moderators and users Dialog and permissions management --- ts/Manager/RoomRow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) && }