Skip to content

Commit

Permalink
🔨 Fix explorer edit button (#4105)
Browse files Browse the repository at this point in the history
This PR fixes the bug reported in #4033 where the edit button in the share menu of grapher does not point to the right location for explorers
  • Loading branch information
danyx23 authored Nov 14, 2024
1 parent c8058b1 commit bf8b333
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/@ourworldindata/explorer/src/Explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ export class Explorer
),
bakedGrapherURL: this.bakedBaseUrl,
dataApiUrl: this.dataApiUrl,
adminBaseUrl: ADMIN_BASE_URL,
hideEntityControls: this.showExplorerControls,
manuallyProvideData: false,
}
Expand Down Expand Up @@ -599,6 +600,7 @@ export class Explorer
),
bakedGrapherURL: this.bakedBaseUrl,
dataApiUrl: this.dataApiUrl,
adminBaseUrl: ADMIN_BASE_URL,
hideEntityControls: this.showExplorerControls,
manuallyProvideData: false,
}
Expand Down Expand Up @@ -749,6 +751,7 @@ export class Explorer
...this.explorerProgram.grapherConfig,
bakedGrapherURL: this.bakedBaseUrl,
dataApiUrl: this.dataApiUrl,
adminBaseUrl: ADMIN_BASE_URL,
hideEntityControls: this.showExplorerControls,
manuallyProvideData: true,
}
Expand Down

0 comments on commit bf8b333

Please sign in to comment.