Make `pathTypes` a non-reactive constant

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
This commit is contained in:
Phillip Rak 2025-08-04 15:47:20 -07:00
parent 0985e2afa1
commit 8fa39f90d0
1 changed files with 9 additions and 5 deletions

View File

@ -34,13 +34,17 @@ export default {
type: Object, type: Object,
} }
}, },
data() { setup() {
return { const pathTypes = [
pathTypes: [
'Prefix', 'Prefix',
'Exact', 'Exact',
'ImplementationSpecific' 'ImplementationSpecific'
], ];
return { pathTypes };
},
data() {
return {
serviceName: undefined, serviceName: undefined,
servicePort: undefined, servicePort: undefined,
pathType: this.value.pathType, pathType: this.value.pathType,