From 32a346fdcf41032d841f0adc8168d7dba772824d Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Sun, 18 Aug 2019 09:41:57 +0300 Subject: [PATCH] Fixed missing pillar status (for label color) --- .../cc/ui/src/components/pages/ZeroTrustReportPage.js | 3 ++- .../zerotrust/SinglePillarDirectivesStatus.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ZeroTrustReportPage.js b/monkey/monkey_island/cc/ui/src/components/pages/ZeroTrustReportPage.js index 0f0326f14..21b1a7e3b 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ZeroTrustReportPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ZeroTrustReportPage.js @@ -85,7 +85,8 @@ class ZeroTrustReportPageComponent extends AuthComponent { + directivesStatus={this.state.directives[pillar]} + pillarsToStatuses={this.state.pillars.pillarsToStatuses}/> ) } ; diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/SinglePillarDirectivesStatus.js b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/SinglePillarDirectivesStatus.js index dad36d025..feb56b204 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/SinglePillarDirectivesStatus.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/SinglePillarDirectivesStatus.js @@ -13,7 +13,7 @@ export class SinglePillarDirectivesStatus extends AuthComponent { else { return ( -

+

);