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