mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ui: Fix Load Balancer Rules alignment issue (#5451)
This commit is contained in:
parent
1f3f02b469
commit
e6058b09a7
@ -282,6 +282,9 @@ export default {
|
|||||||
this.rules = this.tabType === 'ingress' ? this.resource.ingressrule : this.resource.egressrule
|
this.rules = this.tabType === 'ingress' ? this.resource.ingressrule : this.resource.egressrule
|
||||||
},
|
},
|
||||||
getCapitalise (val) {
|
getCapitalise (val) {
|
||||||
|
if (!val) {
|
||||||
|
return
|
||||||
|
}
|
||||||
if (val === 'all') return this.$t('label.all')
|
if (val === 'all') return this.$t('label.all')
|
||||||
return val.toUpperCase()
|
return val.toUpperCase()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -736,6 +736,9 @@ export default {
|
|||||||
return 'Configure'
|
return 'Configure'
|
||||||
},
|
},
|
||||||
getCapitalise (val) {
|
getCapitalise (val) {
|
||||||
|
if (!val) {
|
||||||
|
return
|
||||||
|
}
|
||||||
if (val === 'all') return this.$t('label.all')
|
if (val === 'all') return this.$t('label.all')
|
||||||
return val.toUpperCase()
|
return val.toUpperCase()
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user