From 122efacc52a41ade8484133d953877d048ec2907 Mon Sep 17 00:00:00 2001 From: sctanf <36978460+sctanf@users.noreply.github.com> Date: Sat, 13 Dec 2025 21:00:23 -0600 Subject: [PATCH] show runtime in gui --- gui/src/components/tracker/TrackerBattery.tsx | 26 ++++++++++++++++--- gui/src/components/tracker/TrackerCard.tsx | 2 ++ gui/src/components/tracker/TrackersTable.tsx | 3 ++- 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/gui/src/components/tracker/TrackerBattery.tsx b/gui/src/components/tracker/TrackerBattery.tsx index 0bf775a82..1f4c232ab 100644 --- a/gui/src/components/tracker/TrackerBattery.tsx +++ b/gui/src/components/tracker/TrackerBattery.tsx @@ -6,6 +6,7 @@ import { Typography } from '@/components/commons/Typography'; export function TrackerBattery({ value, voltage, + runtime, disabled, textColor = 'primary', }: { @@ -14,6 +15,7 @@ export function TrackerBattery({ */ value: number; voltage?: number | null; + runtime?: BigInt | null disabled?: boolean; textColor?: string; }) { @@ -33,11 +35,27 @@ export function TrackerBattery({ return (