UI: fix error message when create load balancer as a normal user (#7286)

This commit is contained in:
Wei Zhou 2023-02-24 12:06:12 +01:00 committed by GitHub
parent b8bc0b3e13
commit c4b444d032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1598,6 +1598,9 @@ export default {
this.fetchVirtualMachines()
},
fetchLBTungstenFabricHealthMonitor () {
if (!('listTungstenFabricLBHealthMonitor' in this.$store.getters.apis)) {
return
}
this.tungstenHealthMonitors = []
this.loading = true
this.lbRules.forEach(rule => {