Skip to content

Commit

Permalink
Merge branch 'staging' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Mar 7, 2022
2 parents a3514dd + 9ab78af commit 03e05b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/chartOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function getGraphOptions({
const { commentsName, name } = getURLSearchParams(search);
// eslint-disable-next-line no-param-reassign
dataTitle.commentsName = commentsName;
const otherSources = search ? [name] : [];
const otherSources = search ? [name.replace(/ *\([^)]*\) */g, '')] : [];
const titleId = studyType ? withtStudyType(id, studyType.toLowerCase()) : id;
const legend = intl.formatMessage({
id: `${id}.legend`,
Expand Down

0 comments on commit 03e05b0

Please sign in to comment.