Skip to content

Commit

Permalink
fix: ensure severity table is properly restored on file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov committed Jun 22, 2020
1 parent 6b57726 commit 14d6a39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/state/scenario/scenario.reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export const scenarioReducer = reducerWithInitialState(defaultScenarioState)
draft.scenarioData = scenarioData
draft.shouldRenameOnEdits = false
draft.ageDistributionData = ageDistributionData
draft.severityDistributionData = severityDistributionData
draft.caseCountsData = getCaseCountsData(scenarioData.data.population.caseCountsName)
draft.caseCountsNameCustom = undefined
}),
Expand Down

0 comments on commit 14d6a39

Please sign in to comment.