diff --git a/packages/@ourworldindata/grapher/src/core/Grapher.tsx b/packages/@ourworldindata/grapher/src/core/Grapher.tsx index 7166459c994..44add4b5e6b 100644 --- a/packages/@ourworldindata/grapher/src/core/Grapher.tsx +++ b/packages/@ourworldindata/grapher/src/core/Grapher.tsx @@ -1481,7 +1481,7 @@ export class Grapher if (uniqueAttributions.length > 3) return "Multiple sources" - return uniqueAttributions.join(", ") + return uniqueAttributions.join("; ") } @computed private get axisDimensions(): ChartDimension[] { diff --git a/packages/@ourworldindata/utils/src/Util.ts b/packages/@ourworldindata/utils/src/Util.ts index 8fc385beacc..a2e4a382346 100644 --- a/packages/@ourworldindata/utils/src/Util.ts +++ b/packages/@ourworldindata/utils/src/Util.ts @@ -1754,7 +1754,7 @@ export function getAttributionFromVariable( variable.origins ) const sourceName = variable.source?.name - return uniq(compact([sourceName, ...originAttributionFragments])).join(", ") + return uniq(compact([sourceName, ...originAttributionFragments])).join("; ") } interface ETLPathComponents {