Skip to content

Commit a23caa4

Browse files
authored
Merge pull request #37670 from apeyada/fix-37445
fix wrong visiblity in workspace room settings
2 parents 19a59f7 + afcfa34 commit a23caa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/settings/Report/ReportSettingsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function ReportSettingsPage({report, policies}: ReportSettingsPageProps) {
143143
</View>
144144
)}
145145
</View>
146-
{report?.visibility !== undefined &&
146+
{!!report?.visibility &&
147147
(shouldAllowChangeVisibility ? (
148148
<MenuItemWithTopDescription
149149
shouldShowRightIcon

0 commit comments

Comments
 (0)