Skip to content

Commit

Permalink
🔨 chart subtitle should not fall back to descriptionShort
Browse files Browse the repository at this point in the history
  • Loading branch information
danyx23 committed Oct 10, 2023
1 parent 1ea4021 commit fbc1e12
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/@ourworldindata/grapher/src/core/Grapher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1236,8 +1236,6 @@ export class Grapher
@computed get currentSubtitle(): string {
const subtitle = this.subtitle
if (subtitle) return subtitle
const yColumns = this.yColumnsFromDimensions
if (yColumns.length === 1) return yColumns[0].def.descriptionShort ?? ""
return ""
}

Expand Down

0 comments on commit fbc1e12

Please sign in to comment.