From 2b32bd342578ed1b9cdd4720af23a16d2eca96d8 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 20 Apr 2023 11:51:35 +0200 Subject: 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. --- dashboard/app/handler.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dashboard/app/handler.go') 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, -- cgit mrf-deployment