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,
}
},
data() {
return {
pathTypes: [
setup() {
const pathTypes = [
'Prefix',
'Exact',
'ImplementationSpecific'
],
];
return { pathTypes };
},
data() {
return {
serviceName: undefined,
servicePort: undefined,
pathType: this.value.pathType,