chore: sincroniza alterações locais
This commit is contained in:
parent
c3249e523d
commit
c2050f311a
7 changed files with 362 additions and 26 deletions
|
|
@ -184,10 +184,10 @@ export function AdminMachinesOverview({ tenantId }: { tenantId: string }) {
|
|||
{machines.length === 0 ? (
|
||||
<EmptyState />
|
||||
) : (
|
||||
<div className="overflow-x-auto">
|
||||
<Table>
|
||||
<TableHeader>
|
||||
<TableRow>
|
||||
<div className="overflow-x-auto max-h-[70vh] overflow-y-auto rounded-md border border-slate-200">
|
||||
<Table className="">
|
||||
<TableHeader className="sticky top-0 z-10 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
|
||||
<TableRow className="border-slate-200">
|
||||
<TableHead>Hostname</TableHead>
|
||||
<TableHead>Status</TableHead>
|
||||
<TableHead>Último heartbeat</TableHead>
|
||||
|
|
@ -209,8 +209,10 @@ export function AdminMachinesOverview({ tenantId }: { tenantId: string }) {
|
|||
<div className="font-medium">{machine.hostname}</div>
|
||||
<p className="text-xs text-muted-foreground">{machine.authEmail ?? "—"}</p>
|
||||
</TableCell>
|
||||
<TableCell className="space-y-1">
|
||||
<MachineStatusBadge status={machine.status} />
|
||||
<TableCell className="align-middle">
|
||||
<div className="flex items-center">
|
||||
<MachineStatusBadge status={machine.status} />
|
||||
</div>
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue