diff --git a/beszel/site/src/components/systems-table/systems-table-columns.tsx b/beszel/site/src/components/systems-table/systems-table-columns.tsx index 052ef5f..27746a4 100644 --- a/beszel/site/src/components/systems-table/systems-table-columns.tsx +++ b/beszel/site/src/components/systems-table/systems-table-columns.tsx @@ -326,9 +326,9 @@ function TableCellWithMeter(info: CellContext) { STATUS_COLORS.down ) return ( -
- {decimalString(val, val >= 10 ? 1 : 2)}% - +
+ {decimalString(val, val >= 10 ? 1 : 2)}% +
diff --git a/beszel/site/src/components/systems-table/systems-table.tsx b/beszel/site/src/components/systems-table/systems-table.tsx index 77fb5a3..bcba798 100644 --- a/beszel/site/src/components/systems-table/systems-table.tsx +++ b/beszel/site/src/components/systems-table/systems-table.tsx @@ -385,27 +385,33 @@ const SystemCard = memo( )}
- - {table.getAllColumns().map((column) => { - if (!column.getIsVisible() || column.id === "system" || column.id === "actions") return null - const cell = row.getAllCells().find((cell) => cell.column.id === column.id) - if (!cell) return null - // @ts-ignore - const { Icon, name } = column.columnDef as ColumnDef - return ( -
- {column.id === "lastSeen" ? ( - - ) : ( - Icon && - )} -
- {name()}: -
{flexRender(cell.column.columnDef.cell, cell.getContext())}
-
-
- ) - })} + +
+ {table.getAllColumns().map((column) => { + if (!column.getIsVisible() || column.id === "system" || column.id === "actions") return null + const cell = row.getAllCells().find((cell) => cell.column.id === column.id) + if (!cell) return null + // @ts-ignore + const { Icon, name } = column.columnDef as ColumnDef + return ( + <> +
+ {column.id === "lastSeen" ? ( + + ) : ( + Icon && + )} +
+
+ {name()}: +
+
+ {flexRender(cell.column.columnDef.cell, cell.getContext())} +
+ + ) + })} +