Update BaseComponent.vue

pull/6674/head
Mert Sincan 2024-10-25 22:50:03 +01:00
parent 33b523c29a
commit 25ac573fef
1 changed files with 1 additions and 1 deletions

View File

@ -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)));
},