From bd47bb91ac1589b197cd060132bac39efdc496db Mon Sep 17 00:00:00 2001 From: Marcel Gerber Date: Fri, 7 Mar 2025 10:26:03 +0100 Subject: [PATCH] fix: use correct `authorsVersion` for time params --- packages/@ourworldindata/grapher/src/core/Grapher.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@ourworldindata/grapher/src/core/Grapher.tsx b/packages/@ourworldindata/grapher/src/core/Grapher.tsx index 31526a4e18..44a0edba4c 100644 --- a/packages/@ourworldindata/grapher/src/core/Grapher.tsx +++ b/packages/@ourworldindata/grapher/src/core/Grapher.tsx @@ -2697,7 +2697,7 @@ export class GrapherState { } @computed get hasUserChangedTimeHandles(): boolean { - const authorsVersion = this.legacyConfigAsAuthored + const authorsVersion = this.authorsVersion return ( this.minTime !== authorsVersion.minTime || this.maxTime !== authorsVersion.maxTime