client/web: fix rendering of node owner profile

Fixes #8837

Signed-off-by: Will Norris <will@tailscale.com>
This commit is contained in:
Will Norris 2023-08-09 20:11:31 -07:00 committed by Will Norris
parent 2bc98abbd9
commit 6ee85ba412

View File

@ -299,7 +299,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return return
} }
st, err := s.lc.StatusWithoutPeers(ctx) st, err := s.lc.Status(ctx)
if err != nil { if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError) http.Error(w, err.Error(), http.StatusInternalServerError)
return return