ui: Fix Load Balancer Rules alignment issue (#5451)

This commit is contained in:
Pearl Dsilva 2021-09-15 18:11:48 +05:30 committed by GitHub
parent 1f3f02b469
commit e6058b09a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -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()
},

View File

@ -736,6 +736,9 @@ export default {
return 'Configure'
},
getCapitalise (val) {
if (!val) {
return
}
if (val === 'all') return this.$t('label.all')
return val.toUpperCase()
},