diff --git a/frontend/src/components/panels/Sidebar.tsx b/frontend/src/components/panels/Sidebar.tsx index ba98c12..d1b0574 100644 --- a/frontend/src/components/panels/Sidebar.tsx +++ b/frontend/src/components/panels/Sidebar.tsx @@ -222,27 +222,38 @@ function PendingDevicesPanel({ onNodeApproved }: { onNodeApproved: (nodeId: stri {!loading && devices.length === 0 && (

No pending devices

)} - {devices.map((d) => ( - - ))} + {(hasSsh || hasHttp || hasHttps || otherCount > 0) && ( +
+ {hasSsh && } + {hasHttp && } + {hasHttps && } + {otherCount > 0 && } +
+ )} + + ) + })} + {label} + + ) +} + interface ActionButtonProps { icon: React.ElementType label: string