From aa3de511b9b8b14c5a740f7e696cb2116f4d7080 Mon Sep 17 00:00:00 2001 From: henrygd Date: Sat, 8 Feb 2025 19:40:32 -0500 Subject: [PATCH] refactor: get rid of console warnings on dashboard --- beszel/site/src/components/systems-table/systems-table.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beszel/site/src/components/systems-table/systems-table.tsx b/beszel/site/src/components/systems-table/systems-table.tsx index 139e5d8..175756e 100644 --- a/beszel/site/src/components/systems-table/systems-table.tsx +++ b/beszel/site/src/components/systems-table/systems-table.tsx @@ -182,7 +182,7 @@ export default function SystemsTable() { header: sortableHeader, }, { - accessorKey: "info.g", + accessorFn: (originalRow) => originalRow.info.g, id: "GPU", invertSorting: true, sortUndefined: -1, @@ -191,7 +191,7 @@ export default function SystemsTable() { header: sortableHeader, }, { - accessorKey: "info.ht", + accessorFn: (originalRow) => originalRow.info.ht, id: t`Temp`, invertSorting: true, sortUndefined: -1,