forked from p34709852/monkey
Using regular print. Doesn't look great, but better than nothing.
This commit is contained in:
parent
d52a6eab57
commit
f26ab7f62d
|
@ -71,7 +71,7 @@ class ZeroTrustReportPageComponent extends AuthComponent {
|
|||
return (
|
||||
<Fragment>
|
||||
<div style={{marginBottom: '20px'}}>
|
||||
<PrintReportButton onClick={() => {this.print();}} />
|
||||
<PrintReportButton onClick={() => {print();}} />
|
||||
</div>
|
||||
<div className="report-page">
|
||||
<ReportHeader report_type={ReportTypes.zeroTrust}/>
|
||||
|
@ -79,7 +79,7 @@ class ZeroTrustReportPageComponent extends AuthComponent {
|
|||
{content}
|
||||
</div>
|
||||
<div style={{marginTop: '20px'}}>
|
||||
<PrintReportButton onClick={() => {this.print();}} />
|
||||
<PrintReportButton onClick={() => {print();}} />
|
||||
</div>
|
||||
</Fragment>
|
||||
)
|
||||
|
@ -130,10 +130,6 @@ class ZeroTrustReportPageComponent extends AuthComponent {
|
|||
return typeof this.state.findings === "undefined" || typeof this.state.pillars === "undefined" || typeof this.state.directives === "undefined";
|
||||
}
|
||||
|
||||
print() {
|
||||
alert("unimplemented");
|
||||
}
|
||||
|
||||
getZeroTrustReportFromServer() {
|
||||
let res;
|
||||
this.authFetch('/api/report/zero_trust/findings')
|
||||
|
|
Loading…
Reference in New Issue