From 25ac573fefc482f75a0629b2041bd33df6f5ee03 Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Fri, 25 Oct 2024 22:50:03 +0100 Subject: [PATCH] Update BaseComponent.vue --- packages/core/src/basecomponent/BaseComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/basecomponent/BaseComponent.vue b/packages/core/src/basecomponent/BaseComponent.vue index b60fac26e..937dac468 100644 --- a/packages/core/src/basecomponent/BaseComponent.vue +++ b/packages/core/src/basecomponent/BaseComponent.vue @@ -321,7 +321,7 @@ export default { return this.unstyled !== undefined ? this.unstyled : this.$primevueConfig?.unstyled; }, $inProps() { - const nodePropKeys = Object.keys(this.$.vnode?.props); + const nodePropKeys = Object.keys(this.$.vnode?.props || {}); return Object.fromEntries(Object.entries(this.$props).filter(([k]) => nodePropKeys?.includes(k))); },