Skip to content

Commit

Permalink
[#1416] Fix base layer not updating (#1427)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabemart committed May 15, 2018
1 parent b1975d1 commit 120b4ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/src/components/visualisation/VisualisationEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,9 @@ export default class VisualisationEditor extends Component {
if (needNewAggregation && specValid) {
this.fetchAggregatedData(visualisation);
this.lastVisualisationRequested = cloneDeep(visualisation);
} else {
//
} else if (specValid) {
// setState to update non-aggregated properties e.g. baselayer
this.setState({ visualisation: { ...visualisation } });
}

break;
Expand Down

0 comments on commit 120b4ff

Please sign in to comment.