Skip to content

Commit

Permalink
fix: correctly generate narrative view query params
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelgerber committed Dec 18, 2024
1 parent 1214752 commit ee1042f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adminSiteServer/apiRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3637,7 +3637,7 @@ const createPatchConfigAndQueryParamsForChartView = async (
...pick(fullConfigIncludingDefaults, CHART_VIEW_PROPS_TO_PERSIST),
}

const queryParams = grapherConfigToQueryParams(config)
const queryParams = grapherConfigToQueryParams(patchConfigToSave)

const fullConfig = mergeGrapherConfigs(parentChartConfig, patchConfigToSave)
return { patchConfig: patchConfigToSave, fullConfig, queryParams }
Expand Down

0 comments on commit ee1042f

Please sign in to comment.