mirror of https://github.com/apache/cloudstack.git
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
|
||||
},
|
||||
getCapitalise (val) {
|
||||
if (!val) {
|
||||
return
|
||||
}
|
||||
if (val === 'all') return this.$t('label.all')
|
||||
return val.toUpperCase()
|
||||
},
|
||||
|
|
|
|||
|
|
@ -736,6 +736,9 @@ export default {
|
|||
return 'Configure'
|
||||
},
|
||||
getCapitalise (val) {
|
||||
if (!val) {
|
||||
return
|
||||
}
|
||||
if (val === 'all') return this.$t('label.all')
|
||||
return val.toUpperCase()
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue