Unverified Commit 2cab695a authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera
Browse files

fix: add back render to polyline

parent edd29451
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
<script>
import { onMounted, ref, inject } from "vue";
import { onMounted, ref, h, inject } from "vue";
import { remapEvents, propsBinder } from "../utils.js";
import { props, setup as polylineSetup } from "../functions/polyline";

@@ -39,6 +39,9 @@ export default {
    return { ready };
  },
  render() {
    if (this.ready && this.$slots.default) {
      return h("div", { style: { display: "none" } }, this.$slots.default());
    }
    return null;
  },
};