From fbc1e1209682b83ba3dab3df1180b6eebc15c4b2 Mon Sep 17 00:00:00 2001 From: Daniel Bachler Date: Tue, 10 Oct 2023 14:31:44 +0200 Subject: [PATCH] :hammer: chart subtitle should not fall back to descriptionShort --- packages/@ourworldindata/grapher/src/core/Grapher.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/@ourworldindata/grapher/src/core/Grapher.tsx b/packages/@ourworldindata/grapher/src/core/Grapher.tsx index d06c08da45d..ea47ad34575 100644 --- a/packages/@ourworldindata/grapher/src/core/Grapher.tsx +++ b/packages/@ourworldindata/grapher/src/core/Grapher.tsx @@ -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 "" }