Skip to content

Commit

Permalink
Remove ReportUtils.ts from ignored files
Browse files Browse the repository at this point in the history
  • Loading branch information
VickyStash committed Dec 30, 2024
1 parent 43e79df commit 8f52497
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .eslintrc.changed.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ module.exports = {
overrides: [
{
files: [
'src/libs/ReportUtils.ts',
'src/libs/actions/IOU.ts',
'src/libs/actions/Report.ts',
'src/libs/actions/Task.ts',
Expand Down
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8593,7 +8593,7 @@ function hasInvoiceReports() {
}

function getReportMetadata(reportID?: string) {
return allReportMetadataKeyValue[reportID ?? '-1'];
return reportID ? allReportMetadataKeyValue[reportID] : undefined;
}

export {
Expand Down

0 comments on commit 8f52497

Please sign in to comment.