From 369a1ba3af622981ba31a3d7e2adf8233039927d Mon Sep 17 00:00:00 2001 From: Cooper Quintin Date: Thu, 5 Feb 2026 15:51:26 -0800 Subject: [PATCH] appease npm again --- daemon/web/src/lib/components/SystemStatsTable.svelte | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/daemon/web/src/lib/components/SystemStatsTable.svelte b/daemon/web/src/lib/components/SystemStatsTable.svelte index 279c072..30d50a8 100644 --- a/daemon/web/src/lib/components/SystemStatsTable.svelte +++ b/daemon/web/src/lib/components/SystemStatsTable.svelte @@ -46,7 +46,7 @@ }); // Format signal value with unit - function formatSignal(value: number | undefined, unit: string): string { + function format_signal(value: number | undefined, unit: string): string { if (value === undefined) return '—'; return `${value.toFixed(1)} ${unit}`; } @@ -144,7 +144,7 @@ {#if stats.cell_info.rsrp_dbm !== undefined} - (RSRP: {formatSignal(stats.cell_info.rsrp_dbm, 'dBm')}) + (RSRP: {format_signal(stats.cell_info.rsrp_dbm, 'dBm')}) {/if} @@ -157,12 +157,15 @@ {/if} {#if stats.cell_info.rsrq_db !== undefined} RSRQ: {formatSignal(stats.cell_info.rsrq_db, 'dB')}RSRQ: {format_signal(stats.cell_info.rsrq_db, 'dB')} {/if} {#if stats.cell_info.rssi_dbm !== undefined} RSSI: {formatSignal(stats.cell_info.rssi_dbm, 'dBm')}RSSI: {format_signal( + stats.cell_info.rssi_dbm, + 'dBm' + )} {/if}