feat: PRIMARY_SENSOR env var to choose dashboard temp

This commit is contained in:
henrygd
2025-02-11 15:11:46 -05:00
parent 6b2a9463ca
commit 5ea6eb08a1
4 changed files with 15 additions and 6 deletions

View File

@@ -193,7 +193,7 @@ export default function SystemsTable() {
header: sortableHeader,
},
{
accessorFn: (originalRow) => originalRow.info.ht,
accessorFn: (originalRow) => originalRow.info.dt,
id: t`Temp`,
invertSorting: true,
sortUndefined: -1,

View File

@@ -45,8 +45,8 @@ export interface SystemInfo {
p?: boolean
/** highest gpu utilization */
g?: number
/** highest temperature */
ht?: number
/** dashboard display temperature */
dt?: number
}
export interface SystemStats {