diff --git a/package-lock.json b/package-lock.json
index 5a20917..75e4df1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -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"
}
diff --git a/polaris-headlamp-plugin-0.0.5.tar.gz b/polaris-headlamp-plugin-0.0.5.tar.gz
new file mode 100644
index 0000000..2a4014c
Binary files /dev/null and b/polaris-headlamp-plugin-0.0.5.tar.gz differ
diff --git a/src/components/PolarisView.tsx b/src/components/PolarisView.tsx
index 9e4efd2..c7b79ff 100644
--- a/src/components/PolarisView.tsx
+++ b/src/components/PolarisView.tsx
@@ -32,11 +32,7 @@ function OverviewSection(props: { data: AuditData; counts: ResultCounts }) {
rows={[
{
name: 'Cluster Score',
- value: (
-
- {score}%
-
- ),
+ value: {score}%,
},
]}
/>
@@ -47,27 +43,15 @@ function OverviewSection(props: { data: AuditData; counts: ResultCounts }) {
{ name: 'Total Checks', value: String(props.counts.total) },
{
name: 'Pass',
- value: (
-
- {props.counts.pass}
-
- ),
+ value: {props.counts.pass},
},
{
name: 'Warning',
- value: (
-
- {props.counts.warning}
-
- ),
+ value: {props.counts.warning},
},
{
name: 'Danger',
- value: (
-
- {props.counts.danger}
-
- ),
+ value: {props.counts.danger},
},
]}
/>
@@ -106,11 +90,7 @@ export default function PolarisView() {
rows={[
{
name: 'Status',
- value: (
-
- {error}
-
- ),
+ value: {error},
},
]}
/>