client/web: hide admin panel links for non-tailscale control servers

Updates #10261

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
This commit is contained in:
Sonia Appasamy
2023-11-29 15:58:56 -05:00
committed by Sonia Appasamy
parent 8af503b0c5
commit bcc9b44cb1
8 changed files with 105 additions and 40 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ function WebClient({
<Route path="/ssh">
<SSHView
readonly={!auth.canManageNode}
runningSSH={data.RunningSSHServer}
node={data}
nodeUpdaters={nodeUpdaters}
/>
</Route>