mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 10:46:16 +01:00
Adds a version listing in the hub for each agent.
This commit is contained in:
@@ -55,6 +55,7 @@ import {
|
||||
PauseCircleIcon,
|
||||
PlayCircleIcon,
|
||||
Trash2Icon,
|
||||
Wifi,
|
||||
} from 'lucide-react'
|
||||
import { useMemo, useState } from 'react'
|
||||
import { $systems, pb } from '@/lib/stores'
|
||||
@@ -135,6 +136,14 @@ export default function SystemsTable() {
|
||||
},
|
||||
header: ({ column }) => sortableHeader(column, 'System', Server),
|
||||
},
|
||||
{
|
||||
accessorKey: 'info.v',
|
||||
cell: (info) => {
|
||||
return(
|
||||
<div>{info.getValue() as string}</div>)
|
||||
},
|
||||
header: ({ column }) => sortableHeader(column, 'Version', Wifi),
|
||||
},
|
||||
{
|
||||
accessorKey: 'info.cpu',
|
||||
cell: CellFormatter,
|
||||
|
||||
Reference in New Issue
Block a user