style: fix prettier formatting
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "polaris-headlamp-plugin",
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.5",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "polaris-headlamp-plugin",
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.5",
|
||||
"devDependencies": {
|
||||
"@kinvolk/headlamp-plugin": "^0.13.0"
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -32,11 +32,7 @@ function OverviewSection(props: { data: AuditData; counts: ResultCounts }) {
|
||||
rows={[
|
||||
{
|
||||
name: 'Cluster Score',
|
||||
value: (
|
||||
<StatusLabel status={status}>
|
||||
{score}%
|
||||
</StatusLabel>
|
||||
),
|
||||
value: <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: 'Pass',
|
||||
value: (
|
||||
<StatusLabel status="success">
|
||||
{props.counts.pass}
|
||||
</StatusLabel>
|
||||
),
|
||||
value: <StatusLabel status="success">{props.counts.pass}</StatusLabel>,
|
||||
},
|
||||
{
|
||||
name: 'Warning',
|
||||
value: (
|
||||
<StatusLabel status="warning">
|
||||
{props.counts.warning}
|
||||
</StatusLabel>
|
||||
),
|
||||
value: <StatusLabel status="warning">{props.counts.warning}</StatusLabel>,
|
||||
},
|
||||
{
|
||||
name: 'Danger',
|
||||
value: (
|
||||
<StatusLabel status="error">
|
||||
{props.counts.danger}
|
||||
</StatusLabel>
|
||||
),
|
||||
value: <StatusLabel status="error">{props.counts.danger}</StatusLabel>,
|
||||
},
|
||||
]}
|
||||
/>
|
||||
@@ -106,11 +90,7 @@ export default function PolarisView() {
|
||||
rows={[
|
||||
{
|
||||
name: 'Status',
|
||||
value: (
|
||||
<StatusLabel status="error">
|
||||
{error}
|
||||
</StatusLabel>
|
||||
),
|
||||
value: <StatusLabel status="error">{error}</StatusLabel>,
|
||||
},
|
||||
]}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user