|
|
@ -107,7 +107,10 @@ export class GfXRayPageComponent { |
|
|
.fetchPortfolioReport() |
|
|
.fetchPortfolioReport() |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.subscribe(({ xRay: { categories, statistics } }) => { |
|
|
.subscribe(({ xRay: { categories, statistics } }) => { |
|
|
this.categories = categories; |
|
|
this.categories = categories.filter(({ rules }) => { |
|
|
|
|
|
return rules?.length > 0; |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
this.inactiveRules = this.mergeInactiveRules(categories); |
|
|
this.inactiveRules = this.mergeInactiveRules(categories); |
|
|
this.statistics = statistics; |
|
|
this.statistics = statistics; |
|
|
|
|
|
|
|
|
|