Skip to content

Commit

Permalink
set max width for dashboard page, some text changes for risks table (e…
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanSh authored Mar 14, 2022
1 parent 53d7456 commit 9560525
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const ComplianceDashboard = () => {
pageHeader={{
pageTitle: TEXT.CLOUD_POSTURE,
}}
restrictWidth={1600}
>
<CompliancePage />
</CspPageTemplate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const BenchmarksSection = () => {
<EuiSpacer size="xs" />
<EuiText size="xs" color="subdued" style={{ textAlign: 'center' }}>
<EuiIcon type="clock" />
{moment(cluster.meta.lastUpdate).fromNow()}
{` ${moment(cluster.meta.lastUpdate).fromNow()}`}
</EuiText>
</EuiFlexItem>
<EuiFlexItem grow={false}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export const CLOUD_POSTURE_SCORE = i18n.translate('xpack.csp.cloud_posture_score
defaultMessage: 'Cloud Posture Score',
});

export const RISKS = i18n.translate('xpack.csp.risks', {
defaultMessage: 'Risks',
export const RISKS = i18n.translate('xpack.csp.complianceDashboard.failedFindingsChartLabel', {
defaultMessage: 'Failed Findings',
});

export const OPEN_CASES = i18n.translate('xpack.csp.open_cases', {
Expand Down

0 comments on commit 9560525

Please sign in to comment.