diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-04-20 11:51:35 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-04-20 12:07:12 +0200 |
| commit | 2b32bd342578ed1b9cdd4720af23a16d2eca96d8 (patch) | |
| tree | c9ba5a45f19d5111bdb38a16062d53001dfaf7f5 /dashboard/app/handler.go | |
| parent | 5ed6c74d7c871faca9bf3232ecf9b579997e2181 (diff) | |
dashboard: let users see decommissioned namespaces
Still don't show them in the header, but at least serve all direct links
to the bugs of a decommissioned namespace.
Diffstat (limited to 'dashboard/app/handler.go')
| -rw-r--r-- | dashboard/app/handler.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dashboard/app/handler.go b/dashboard/app/handler.go index 0aafd73c8..227259085 100644 --- a/dashboard/app/handler.go +++ b/dashboard/app/handler.go @@ -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, |
