We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5726da2 commit 8f60759Copy full SHA for 8f60759
src/components/LIcon.vue
@@ -92,8 +92,10 @@ export default {
92
93
mounted() {
94
this.parentContainer = findRealParent(this.$parent);
95
-
96
- propsBinder(this, this.$parent.mapObject, this.$options.props);
+ if (!this.parentContainer) {
+ throw new Error('No parent container with mapObject found for LIcon');
97
+ }
98
+ propsBinder(this, this.parentContainer.mapObject, this.$options.props);
99
100
this.observer = new MutationObserver(() => {
101
this.scheduleHtmlSwap();
0 commit comments