From 0b71a253ec62eacff2c02ce8437ebd15f4c0c4ba Mon Sep 17 00:00:00 2001 From: puneet Date: Sun, 10 Apr 2022 07:30:24 -0700 Subject: [PATCH] fix room visibility translation --- src/pages/ReportSettingsPage.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/ReportSettingsPage.js b/src/pages/ReportSettingsPage.js index a8a213d290cf..669b47b2d1c3 100644 --- a/src/pages/ReportSettingsPage.js +++ b/src/pages/ReportSettingsPage.js @@ -234,7 +234,9 @@ class ReportSettingsPage extends Component { {this.props.translate('newRoomPage.visibility')} - {this.props.report.visibility} + + {this.props.translate(`newRoomPage.visibilityOptions.${this.props.report.visibility}`)} + { this.props.report.visibility === CONST.REPORT.VISIBILITY.RESTRICTED