diff --git a/src/actions/tree.js b/src/actions/tree.js index a5f7de910..58cca323d 100644 --- a/src/actions/tree.js +++ b/src/actions/tree.js @@ -89,6 +89,7 @@ export const updateVisibleTipsAndBranchThicknesses = ( ); const dispatchObj = { type: types.UPDATE_VISIBILITY_AND_BRANCH_THICKNESS, + filters: controls.filters, visibility: data.visibility, visibilityVersion: data.visibilityVersion, branchThickness: data.branchThickness, diff --git a/src/reducers/tree.js b/src/reducers/tree.js index 6581364f3..e02d85c09 100644 --- a/src/reducers/tree.js +++ b/src/reducers/tree.js @@ -42,6 +42,7 @@ const Tree = (state = getDefaultTreeState(), action) => { case types.CHANGE_DATES_VISIBILITY_THICKNESS: /* fallthrough */ case types.UPDATE_VISIBILITY_AND_BRANCH_THICKNESS: { const newStates = { + filters: action.filters, visibility: action.visibility, visibilityVersion: action.visibilityVersion, branchThickness: action.branchThickness,