fix: hide version column if no agents are connected
This commit is contained in:
parent
8299aac94f
commit
000e9326fb
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ export default function Page() {
|
|||
node={machine}
|
||||
users={data.users}
|
||||
magic={data.magic}
|
||||
isAgent={data.agent === machine.nodeKey}
|
||||
isAgent={data.agent ? data.agent === machine.nodeKey : undefined}
|
||||
isDisabled={
|
||||
data.writable
|
||||
? false // If the user has write permissions, they can edit all machines
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue