mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -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) {
|
||||
return {
|
||||
closeFlyout: () => {
|
||||
clearTransientLayerStateAndCloseFlyout();
|
||||
dispatch(clearTransientLayerStateAndCloseFlyout());
|
||||
},
|
||||
previewLayer: layer => {
|
||||
dispatch(addLayer(layer.toLayerDescriptor()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue