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
|
||||
key={pillar}
|
||||
pillar={pillar}
|
||||
directivesStatus={this.state.directives[pillar]}/>
|
||||
directivesStatus={this.state.directives[pillar]}
|
||||
pillarsToStatuses={this.state.pillars.pillarsToStatuses}/>
|
||||
)
|
||||
}
|
||||
</div>;
|
||||
|
|
|
@ -13,7 +13,7 @@ export class SinglePillarDirectivesStatus extends AuthComponent {
|
|||
else {
|
||||
return (
|
||||
<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}/>
|
||||
</Fragment>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue