Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonals committed May 5, 2021
1 parent b098d1c commit 97869a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionsView.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class ReportActionsView extends React.Component {
: this.props.report.maxSequenceNumber - this.props.report.unreadActionCount;

// We are adding 1 to the last read sequence number because we want the New marker displayed over the
// first unread sequence
// first unread sequence. If there are no unread actions, there's no need to display it.
if (lastReadSequenceNumber > 0) {
setNewMarkerPosition(this.props.reportID, lastReadSequenceNumber + 1);
}
Expand Down

0 comments on commit 97869a4

Please sign in to comment.