Skip to content

Commit

Permalink
fix for vuejs/core#5417
Browse files Browse the repository at this point in the history
  • Loading branch information
limenet committed Feb 25, 2022
1 parent 6c8c6ef commit e8bc1ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/map/GlMap.js
Expand Up @@ -109,14 +109,14 @@ export default {
},

render() {
if (!this.$_containerVNode) {
this.$_containerVNode = h("div", {
if (!this.$data.$_containerVNode) {
this.$data.$_containerVNode = h("div", {
id: this.container,
ref: "container"
});
}
return h("div", { class: "mgl-map-wrapper" }, [
this.$_containerVNode,
this.$data.$_containerVNode,
this.initialized ? this.$slots.default() : null
]);
},
Expand Down

0 comments on commit e8bc1ce

Please sign in to comment.