Skip to content

Commit

Permalink
[Maps] fix regression in loading left join fields (elastic#63325) (el…
Browse files Browse the repository at this point in the history
…astic#63352)

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
nreese and elasticmachine authored Apr 13, 2020
1 parent 7f0e1d3 commit 857e08c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { fitToLayerExtent, updateSourceProp } from '../../actions/map_actions';
function mapStateToProps(state = {}) {
const selectedLayer = getSelectedLayer(state);
return {
key: selectedLayer ? selectedLayer.getId() : '',
key: selectedLayer ? `${selectedLayer.getId()}${selectedLayer.isJoinable()}` : '',
selectedLayer,
};
}
Expand Down

0 comments on commit 857e08c

Please sign in to comment.