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",
|
"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.
@@ -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>
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user