Skip to content

Commit

Permalink
Merge pull request #3955 from owid/larsyencken/fix-chart-copy-slug
Browse files Browse the repository at this point in the history
🐛 Fix chart copy slug issue
  • Loading branch information
larsyencken authored Sep 13, 2024
2 parents 741c08c + c46ae9f commit 0bf6d88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adminSiteClient/ChartEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export class ChartEditor extends AbstractChartEditor<ChartEditorManager> {
const chartJson = { ...patchConfig }
delete chartJson.id
delete chartJson.isPublished
delete chartJson.slug

// Need to open intermediary tab before AJAX to avoid popup blockers
const w = window.open("/", "_blank") as Window
Expand Down

0 comments on commit 0bf6d88

Please sign in to comment.