Skip to content

Commit

Permalink
Merge pull request #1883 from nextstrain/james/narratives-fix
Browse files Browse the repository at this point in the history
Fix bug in narratives with filter changes
  • Loading branch information
jameshadfield authored Nov 5, 2024
2 parents 35e4ca6 + e3cfb27 commit 2cf13e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reducers/controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ export const getDefaultControlsState = () => {
canRenderBranchLabels: true,
analysisSlider: false,
geoResolution: defaults.geoResolution,
filters: defaults.filters,
filtersInFooter: defaults.filtersInFooter,
filters: JSON.parse(JSON.stringify(defaults.filters)),
filtersInFooter: JSON.parse(JSON.stringify(defaults.filtersInFooter)),
modal: null,
quickdraw: false, // if true, components may skip expensive computes.
mapAnimationDurationInMilliseconds: 30000, // in milliseconds
Expand Down

0 comments on commit 2cf13e3

Please sign in to comment.