File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1268,7 +1268,7 @@ function isClosedExpenseReportWithNoExpenses(report: OnyxEntry<Report>): boolean
1268
1268
*/
1269
1269
function isArchivedRoom ( report : OnyxInputOrEntry < Report > , reportNameValuePairs ?: OnyxInputOrEntry < ReportNameValuePairs > ) : boolean {
1270
1270
if ( reportNameValuePairs ) {
1271
- return reportNameValuePairs . isArchived ;
1271
+ return reportNameValuePairs . private_isArchived ;
1272
1272
}
1273
1273
1274
1274
return report ?. statusNum === CONST . REPORT . STATUS_NUM . CLOSED && report ?. stateNum === CONST . REPORT . STATE_NUM . APPROVED ;
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import type * as OnyxCommon from './OnyxCommon';
3
3
/** Model of additional report details */
4
4
type ReportNameValuePairs = OnyxCommon . OnyxValueWithOfflineFeedback < {
5
5
/** Whether the report is an archived room */
6
- isArchived : boolean ;
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ private_isArchived : boolean ;
7
8
} > ;
8
9
9
10
export default ReportNameValuePairs ;
You can’t perform that action at this time.
0 commit comments