Skip to content

Commit

Permalink
fix check for maps view
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Mar 30, 2022
1 parent 7f23a46 commit 8aab36d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ expressionFunction(
...args: SetMapViewArgs
) {
const view = this.context.dataflow;
if (!('setMapViewHandler' in view)) {
if (!('setMapViewHandler' in view._kibanaView)) {
// not a map view, don't do anything
return;
}
Expand Down

0 comments on commit 8aab36d

Please sign in to comment.