NestedFolders: Use new Browse Dashboards UI behind feature flag (#67416)
NestedFolders: Put feature flagged new Browse Dashboards UI at main route
This commit is contained in:
1 parent
02086e843f
commit
c4a31390ef
4 files changed
+21
-53
No files matched your search
@@ -152,12 +152,6 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
r.Get("/dashboards/*", reqSignedIn, hs.Index)
|
||||
r.Get("/goto/:uid", reqSignedIn, hs.redirectFromShortURL, hs.Index)
|
||||
|
||||
// Temporary routes for the work-in-progress new Browse Dashboards views
|
||||
if hs.Features.IsEnabled(featuremgmt.FlagNestedFolders) {
|
||||
r.Get("/nested-dashboards/", reqSignedIn, hs.Index)
|
||||
r.Get("/nested-dashboards/*", reqSignedIn, hs.Index)
|
||||
}
|
||||
|
||||
if hs.Features.IsEnabled(featuremgmt.FlagPublicDashboards) {
|
||||
// list public dashboards
|
||||
r.Get("/public-dashboards/list", reqSignedIn, hs.Index)
|
||||
|
||||
Reference in new issue
Block a user