mirror of
https://github.com/tale/headplane.git
synced 2026-08-28 16:07:07 +00:00
fix: hide version column if no agents are connected
This commit is contained in:
@@ -151,7 +151,7 @@ export default function Page() {
|
|||||||
node={machine}
|
node={machine}
|
||||||
users={data.users}
|
users={data.users}
|
||||||
magic={data.magic}
|
magic={data.magic}
|
||||||
isAgent={data.agent === machine.nodeKey}
|
isAgent={data.agent ? data.agent === machine.nodeKey : undefined}
|
||||||
isDisabled={
|
isDisabled={
|
||||||
data.writable
|
data.writable
|
||||||
? false // If the user has write permissions, they can edit all machines
|
? false // If the user has write permissions, they can edit all machines
|
||||||
|
|||||||
Reference in New Issue
Block a user