@@ -1459,7 +1459,7 @@ export default class OtomiStack {
14591459 }
14601460
14611461 getDashboard ( teamName : string ) : Array < any > {
1462- const projects = teamName ? this . repoService . getTeamConfigService ( teamName ) . getProjects ( ) : this . getAllProjects ( )
1462+ const codeRepos = teamName ? this . repoService . getTeamConfigService ( teamName ) . getCodeRepos ( ) : this . getAllCodeRepos ( )
14631463 const builds = teamName ? this . repoService . getTeamConfigService ( teamName ) . getBuilds ( ) : this . getAllBuilds ( )
14641464 const workloads = teamName ? this . repoService . getTeamConfigService ( teamName ) . getWorkloads ( ) : this . getAllWorkloads ( )
14651465 const services = teamName ? this . repoService . getTeamConfigService ( teamName ) . getServices ( ) : this . getAllServices ( )
@@ -1469,11 +1469,11 @@ export default class OtomiStack {
14691469 const netpols = teamName ? this . repoService . getTeamConfigService ( teamName ) . getNetpols ( ) : this . getAllNetpols ( )
14701470
14711471 return [
1472- { name : 'projects ' , count : projects ?. length } ,
1472+ { name : 'code-repositories ' , count : codeRepos ?. length } ,
14731473 { name : 'container-images' , count : builds ?. length } ,
14741474 { name : 'workloads' , count : workloads ?. length } ,
14751475 { name : 'services' , count : services ?. length } ,
1476- { name : 'sealed- secrets' , count : secrets ?. length } ,
1476+ { name : 'secrets' , count : secrets ?. length } ,
14771477 { name : 'network-policies' , count : netpols ?. length } ,
14781478 ]
14791479 }
0 commit comments