Skip to content

Commit

Permalink
update user guide language setting in another place natcap#1168
Browse files Browse the repository at this point in the history
  • Loading branch information
emlys committed Jul 25, 2023
1 parent cb15f47 commit 61711b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function AboutModal(props) {
// create link to users guide entry for this arg
// anchor name is the arg name, with underscores replaced with hyphens
const userguideURL = `
${window.Workbench.USERGUIDE_PATH}/${i18n.language}/${userguide}#${argkey.replace(/_/g, '-')}`;
${window.Workbench.USERGUIDE_PATH}/${window.Workbench.LANGUAGE}/${userguide}#${argkey.replace(/_/g, '-')}`;
return (
<React.Fragment>
<Button
Expand Down

0 comments on commit 61711b4

Please sign in to comment.