Skip to content

Commit

Permalink
fix: use lodash get
Browse files Browse the repository at this point in the history
  • Loading branch information
tienifr committed Aug 9, 2023
1 parent 2dbad8f commit 2358228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/sidebar/SidebarLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class SidebarLinks extends React.PureComponent {
</View>
{this.props.isLoading ? (
<>
{this.props.report.reportID && (
{lodashGet(this.props.report, 'reportID') && (
<OptionRowLHNData
reportID={this.props.currentReportID}
viewMode={viewMode}
Expand Down

0 comments on commit 2358228

Please sign in to comment.