Skip to content

Commit

Permalink
fix(workingDataset reducer): don't write over body
Browse files Browse the repository at this point in the history
  • Loading branch information
ramfox committed Sep 25, 2019
1 parent 271eb92 commit 2ec2a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/reducers/workingDataset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const workingDatasetsReducer: Reducer = (state = initialState, action: AnyAction
structure: dataset && dataset.structure ? dataset.structure : {},
isLoading: false,
components: {
body: initialState.components.body,
body: state.components.body,
meta: {
value: dataset && dataset.meta ? dataset.meta : {}
},
Expand Down

0 comments on commit 2ec2a58

Please sign in to comment.