Skip to content

Commit

Permalink
dashboard: let users see decommissioned namespaces
Browse files Browse the repository at this point in the history
Still don't show them in the header, but at least serve all direct links
to the bugs of a decommissioned namespace.
  • Loading branch information
a-nogikh committed Apr 20, 2023
1 parent 5ed6c74 commit 2b32bd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dashboard/app/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ func commonHeader(c context.Context, r *http.Request, w http.ResponseWriter, ns
}
continue
}
if cfg.Decommissioned {
continue
}
if ns1 == ns {
found = true
}
if cfg.Decommissioned {
continue
}
h.Namespaces = append(h.Namespaces, uiNamespace{
Name: ns1,
Caption: cfg.DisplayTitle,
Expand Down

0 comments on commit 2b32bd3

Please sign in to comment.