RestoreDashboards: Adjust path (#89233)

* refactor: change path

* fix: page headline

* refactor: remove condition
This commit is contained in:
Laura Benz
2024-06-18 17:24:48 +02:00
committed by GitHub
parent 50244ed4a1
commit 34b3dbdbf3
7 changed files with 14 additions and 10 deletions

View File

@ -165,6 +165,10 @@ func (hs *HTTPServer) registerRoutes() {
)
}
if hs.Features.IsEnabledGlobally(featuremgmt.FlagDashboardRestore) {
r.Get("/dashboard/recently-deleted", reqSignedIn, hs.Index)
}
r.Get("/explore", authorize(ac.EvalPermission(ac.ActionDatasourcesExplore)), hs.Index)
r.Get("/playlists/", reqSignedIn, hs.Index)