From c46f85db9c7e148e2ccbd5613e7f95cde1a3126e Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Mon, 4 Sep 2023 19:54:07 +0200 Subject: [PATCH] webapp: Use max field to determine whether to show a string or not --- webapp/src/types/LiveDataStatus.ts | 1 + webapp/src/views/HomeView.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/webapp/src/types/LiveDataStatus.ts b/webapp/src/types/LiveDataStatus.ts index c3e56825d..6da7266b1 100644 --- a/webapp/src/types/LiveDataStatus.ts +++ b/webapp/src/types/LiveDataStatus.ts @@ -2,6 +2,7 @@ export interface ValueObject { v: number; // value u: string; // unit d: number; // digits + max: number; } export interface InverterStatistics { diff --git a/webapp/src/views/HomeView.vue b/webapp/src/views/HomeView.vue index 205def8d9..e64361a1f 100644 --- a/webapp/src/views/HomeView.vue +++ b/webapp/src/views/HomeView.vue @@ -98,7 +98,7 @@