style: fix prettier formatting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-06 21:59:16 -05:00
parent 672caec903
commit 1f110a2846
3 changed files with 7 additions and 27 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "polaris-headlamp-plugin", "name": "polaris-headlamp-plugin",
"version": "0.0.3", "version": "0.0.5",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "polaris-headlamp-plugin", "name": "polaris-headlamp-plugin",
"version": "0.0.3", "version": "0.0.5",
"devDependencies": { "devDependencies": {
"@kinvolk/headlamp-plugin": "^0.13.0" "@kinvolk/headlamp-plugin": "^0.13.0"
} }
Binary file not shown.
+5 -25
View File
@@ -32,11 +32,7 @@ function OverviewSection(props: { data: AuditData; counts: ResultCounts }) {
rows={[ rows={[
{ {
name: 'Cluster Score', name: 'Cluster Score',
value: ( value: <StatusLabel status={status}>{score}%</StatusLabel>,
<StatusLabel status={status}>
{score}%
</StatusLabel>
),
}, },
]} ]}
/> />
@@ -47,27 +43,15 @@ function OverviewSection(props: { data: AuditData; counts: ResultCounts }) {
{ name: 'Total Checks', value: String(props.counts.total) }, { name: 'Total Checks', value: String(props.counts.total) },
{ {
name: 'Pass', name: 'Pass',
value: ( value: <StatusLabel status="success">{props.counts.pass}</StatusLabel>,
<StatusLabel status="success">
{props.counts.pass}
</StatusLabel>
),
}, },
{ {
name: 'Warning', name: 'Warning',
value: ( value: <StatusLabel status="warning">{props.counts.warning}</StatusLabel>,
<StatusLabel status="warning">
{props.counts.warning}
</StatusLabel>
),
}, },
{ {
name: 'Danger', name: 'Danger',
value: ( value: <StatusLabel status="error">{props.counts.danger}</StatusLabel>,
<StatusLabel status="error">
{props.counts.danger}
</StatusLabel>
),
}, },
]} ]}
/> />
@@ -106,11 +90,7 @@ export default function PolarisView() {
rows={[ rows={[
{ {
name: 'Status', name: 'Status',
value: ( value: <StatusLabel status="error">{error}</StatusLabel>,
<StatusLabel status="error">
{error}
</StatusLabel>
),
}, },
]} ]}
/> />