mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
Add back dispatch (#31602)
This commit is contained in:
parent
425539e122
commit
23830e228c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ function mapStateToProps(state = {}) {
|
||||||
function mapDispatchToProps(dispatch) {
|
function mapDispatchToProps(dispatch) {
|
||||||
return {
|
return {
|
||||||
closeFlyout: () => {
|
closeFlyout: () => {
|
||||||
clearTransientLayerStateAndCloseFlyout();
|
dispatch(clearTransientLayerStateAndCloseFlyout());
|
||||||
},
|
},
|
||||||
previewLayer: layer => {
|
previewLayer: layer => {
|
||||||
dispatch(addLayer(layer.toLayerDescriptor()));
|
dispatch(addLayer(layer.toLayerDescriptor()));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue