From 88017ad45e374b85cc8bab9c10b0c2658ef41cb0 Mon Sep 17 00:00:00 2001 From: Vishesh Date: Thu, 21 Mar 2024 18:48:46 +0530 Subject: [PATCH] Fix Virtual router count in Capacity dashboard (#8807) --- ui/src/views/dashboard/CapacityDashboard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/dashboard/CapacityDashboard.vue b/ui/src/views/dashboard/CapacityDashboard.vue index a174e60b709..2fc41b6c1be 100644 --- a/ui/src/views/dashboard/CapacityDashboard.vue +++ b/ui/src/views/dashboard/CapacityDashboard.vue @@ -521,7 +521,7 @@ export default { this.data.systemvms = 0 } }) - api('listRouters', { zoneid: zone.id, listall: true }).then(json => { + api('listRouters', { zoneid: zone.id, listall: true, projectid: '-1' }).then(json => { this.loading = false this.data.routers = json?.listroutersresponse?.count if (!this.data.routers) {