Skip to content

Commit

Permalink
Merge pull request #24411 from margelo/comment-linking-redirects
Browse files Browse the repository at this point in the history
Comment linking redirects
  • Loading branch information
roryabraham authored Aug 28, 2023
2 parents ed2609c + feb0ecf commit 1139e7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ROUTES.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default {
NEW_CHAT: 'new/chat',
NEW_TASK,
REPORT,
REPORT_WITH_ID: 'r/:reportID?',
REPORT_WITH_ID: 'r/:reportID/:reportActionID?',
EDIT_REQUEST: 'r/:threadReportID/edit/:field',
getEditRequestRoute: (threadReportID, field) => `r/${threadReportID}/edit/${field}`,
EDIT_CURRENCY_REQUEST: 'r/:threadReportID/edit/currency',
Expand Down
3 changes: 3 additions & 0 deletions src/pages/home/ReportScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ const propTypes = {
params: PropTypes.shape({
/** The ID of the report this screen should display */
reportID: PropTypes.string,

/** The reportActionID to scroll to */
reportActionID: PropTypes.string,
}).isRequired,
}).isRequired,

Expand Down

0 comments on commit 1139e7c

Please sign in to comment.