Skip to content

Commit

Permalink
encodeURI in invoices page
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Nov 25, 2021
1 parent 5efe308 commit 982686e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const WorkspaceInvoicesFirstSection = props => (
menuItems={[
{
title: props.translate('workspace.invoices.sendInvoice'),
onPress: () => Link.openOldDotLink('reports?param={"createInvoice":true}'),
onPress: () => Link.openOldDotLink(encodeURI('reports?param={"createInvoice":true}')),
icon: Expensicons.Send,
shouldShowRightIcon: true,
iconRight: Expensicons.NewWindow,
Expand Down

0 comments on commit 982686e

Please sign in to comment.