mirror of https://github.com/rancher/dashboard.git
Make `pathTypes` a non-reactive constant
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
This commit is contained in:
parent
0985e2afa1
commit
8fa39f90d0
|
|
@ -34,13 +34,17 @@ export default {
|
||||||
type: Object,
|
type: Object,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
setup() {
|
||||||
|
const pathTypes = [
|
||||||
|
'Prefix',
|
||||||
|
'Exact',
|
||||||
|
'ImplementationSpecific'
|
||||||
|
];
|
||||||
|
|
||||||
|
return { pathTypes };
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
pathTypes: [
|
|
||||||
'Prefix',
|
|
||||||
'Exact',
|
|
||||||
'ImplementationSpecific'
|
|
||||||
],
|
|
||||||
serviceName: undefined,
|
serviceName: undefined,
|
||||||
servicePort: undefined,
|
servicePort: undefined,
|
||||||
pathType: this.value.pathType,
|
pathType: this.value.pathType,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue