Skip to content

Commit

Permalink
Merge pull request #404 from kac89/dev
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
kac89 authored Aug 12, 2024
2 parents b2001bb + 5f83fa9 commit 4789efa
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/app/report/report.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,18 @@ export class ReportComponent implements OnInit, OnDestroy {
this.calendarDateChanged();
this.startDate = new Date(this.decryptedReportDataChanged.report_metadata.starttest);

// get css style
this.http.get('/assets/bootstrap.min.css', { responseType: 'text' }).subscribe(res => {
this.report_css = res;
});

// get bug bountys programs list, full credits: https://github.com/projectdiscovery/public-bugbounty-programs
this.http.get<any>('/assets/chaos-bugbounty-list.json?v=' + + new Date()).subscribe(res => {
this.bugbountylist = res.programs;
});

this.getReportProfiles();

});


Expand Down Expand Up @@ -305,18 +317,6 @@ export class ReportComponent implements OnInit, OnDestroy {
}
});

// get css style
this.http.get('/assets/bootstrap.min.css', { responseType: 'text' }).subscribe(res => {
this.report_css = res;
});

// get bug bountys programs list, full credits: https://github.com/projectdiscovery/public-bugbounty-programs
this.http.get<any>('/assets/chaos-bugbounty-list.json?v=' + + new Date()).subscribe(res => {
this.bugbountylist = res.programs;
});

this.getReportProfiles();

}
}
});
Expand Down

0 comments on commit 4789efa

Please sign in to comment.