diff --git a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/dashboard/transform.js b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/dashboard/transform.js index 468826c85b..2187c38111 100644 --- a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/dashboard/transform.js +++ b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/dashboard/transform.js @@ -116,19 +116,12 @@ const transform = { getCountInfo: (collectionsArr, coverageObject) => { let urlsCount = 0 ; let coverageCount = 0 ; - let allAPIsGroupActive = false; collectionsArr.forEach((x) =>{ if (x.hasOwnProperty('type') && x.type === 'API_GROUP') { - if (x.id === 111111121) { - urlsCount = x.urlsCount; - allAPIsGroupActive = true; - } return } - if(!allAPIsGroupActive){ - urlsCount += x.urlsCount; - } + urlsCount += x.urlsCount; coverageCount += coverageObject[x.id] || 0 ; }) return { diff --git a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/observe/transform.js b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/observe/transform.js index 17e49fef4b..a173e6cda2 100644 --- a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/observe/transform.js +++ b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/observe/transform.js @@ -453,19 +453,12 @@ const transform = { let sensitiveInRes = 0; let totalTested = 0 ; - let allAPIsGroupActive = false; collectionsData?.forEach((c) =>{ if (c.hasOwnProperty('type') && c.type === 'API_GROUP') { - if(c.id===111111121){ - totalUrl = c.urlsCount; - allAPIsGroupActive = true; - } return } - if(!allAPIsGroupActive){ totalUrl += c.urlsCount ; - } totalTested += c.testedEndpoints; })