Skip to content

Commit

Permalink
Fix: GA share link spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
john681611 committed Sep 19, 2023
1 parent 1071323 commit aed54ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export const GapAnalysis = () => {
<Button
onClick={() => {
navigator.clipboard.writeText(
`${window.location.origin}/gap_analysis?base=${BaseStandard}&compare=${CompareStandard}`
`${window.location.origin}/gap_analysis?base=${encodeURIComponent(BaseStandard || "")}&compare=${encodeURIComponent(CompareStandard || "")}`
);
}}
target="_blank"
Expand Down

0 comments on commit aed54ed

Please sign in to comment.