Skip to content

Commit

Permalink
Merge pull request Expensify#25623 from Expensify/marcaaron-stopParsi…
Browse files Browse the repository at this point in the history
…ngReportActionIDToInt

Do not parse to reportActionID to int when building comment linking url
  • Loading branch information
roryabraham committed Aug 21, 2023
2 parents d09faa6 + e40c044 commit a168b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ContextMenu/ContextMenuActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export default [
},
onPress: (closePopover, {reportAction, reportID}) => {
Environment.getEnvironmentURL().then((environmentURL) => {
const reportActionID = parseInt(lodashGet(reportAction, 'reportActionID'), 10);
const reportActionID = lodashGet(reportAction, 'reportActionID');
Clipboard.setString(`${environmentURL}/r/${reportID}/${reportActionID}`);
});
hideContextMenu(true, ReportActionComposeFocusManager.focus);
Expand Down

0 comments on commit a168b2d

Please sign in to comment.