Refactor #3965 - hostName fixes

This commit is contained in:
Tuğçe Küçükoğlu 2023-07-04 09:29:36 +03:00
parent 29856c6a3a
commit 3d49b11814
27 changed files with 27 additions and 1 deletions

View file

@ -467,7 +467,7 @@ export default {
},
computed: {
defaultPT() {
return this._getOptionValue(this.$primevue.config.pt, this.$.type.name, { instance: this });
return this._getOptionValue(this.$primevue.config.pt, this.$options.hostName || this.$.type.name, { instance: this });
},
isUnstyled() {
return this.unstyled !== undefined ? this.unstyled : this.$primevue.config.unstyled;