Skip to content

Commit c4b444d

Browse files
UI: fix error message when create load balancer as a normal user (#7286)
1 parent b8bc0b3 commit c4b444d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/src/views/network/LoadBalancing.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1598,6 +1598,9 @@ export default {
15981598
this.fetchVirtualMachines()
15991599
},
16001600
fetchLBTungstenFabricHealthMonitor () {
1601+
if (!('listTungstenFabricLBHealthMonitor' in this.$store.getters.apis)) {
1602+
return
1603+
}
16011604
this.tungstenHealthMonitors = []
16021605
this.loading = true
16031606
this.lbRules.forEach(rule => {

0 commit comments

Comments
 (0)