From afcfa342b195d57b3049a9380cc360c174562281 Mon Sep 17 00:00:00 2001 From: apeyada Date: Mon, 4 Mar 2024 10:38:26 +0100 Subject: [PATCH] fix wrong visiblity in workspace room settings --- src/pages/settings/Report/ReportSettingsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/settings/Report/ReportSettingsPage.tsx b/src/pages/settings/Report/ReportSettingsPage.tsx index 0610d1e9057d..54057f7c05bb 100644 --- a/src/pages/settings/Report/ReportSettingsPage.tsx +++ b/src/pages/settings/Report/ReportSettingsPage.tsx @@ -143,7 +143,7 @@ function ReportSettingsPage({report, policies}: ReportSettingsPageProps) { )} - {report?.visibility !== undefined && + {!!report?.visibility && (shouldAllowChangeVisibility ? (