Fixed missing pillar status (for label color)
This commit is contained in:
parent
21c3c9bf4d
commit
32a346fdcf
|
@ -85,7 +85,8 @@ class ZeroTrustReportPageComponent extends AuthComponent {
|
||||||
<SinglePillarDirectivesStatus
|
<SinglePillarDirectivesStatus
|
||||||
key={pillar}
|
key={pillar}
|
||||||
pillar={pillar}
|
pillar={pillar}
|
||||||
directivesStatus={this.state.directives[pillar]}/>
|
directivesStatus={this.state.directives[pillar]}
|
||||||
|
pillarsToStatuses={this.state.pillars.pillarsToStatuses}/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
</div>;
|
</div>;
|
||||||
|
|
|
@ -13,7 +13,7 @@ export class SinglePillarDirectivesStatus extends AuthComponent {
|
||||||
else {
|
else {
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<h3><PillarLabel pillar={this.props.pillar}/></h3>
|
<h3><PillarLabel pillar={this.props.pillar} status={this.props.pillarsToStatuses[this.props.pillar]} /></h3>
|
||||||
<DirectivesStatusTable directivesStatus={this.props.directivesStatus}/>
|
<DirectivesStatusTable directivesStatus={this.props.directivesStatus}/>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue