Skip to content

Commit

Permalink
show profiles data in compliance report
Browse files Browse the repository at this point in the history
Signed-off-by: Sunanda-Boorla <sboorla@progress.com>
  • Loading branch information
Sunanda-Boorla committed Jun 29, 2022
1 parent 536a7bf commit 0d6952d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export class ReportingProfilesComponent implements OnInit, OnDestroy {
) {}

ngOnInit() {
this.profileFilterStatus = this.route.queryParams['_value'].status || 'all';
this.user = this.chefSessionService.username;
this.reportQuery.state.pipe(
takeUntil(this.isDestroyed))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class ReportDataService {
this.statsService.getProfiles(reportQuery, listParams)
.subscribe(data => {
this.profilesListLoading = false;
this.profilesListEmpty = this.isEmpty(data.items);
this.profilesListEmpty = this.isZero(data.total);
let status: string;
if (profileFilterStatus === 'all') {
status = 'total';
Expand Down

0 comments on commit 0d6952d

Please sign in to comment.