Skip to content
Snippets Groups Projects
Unverified Commit df82d584 authored by github-automation-metabase's avatar github-automation-metabase Committed by GitHub
Browse files

fix(admin/performance): Ensure that the tab's title (e.g. Database caching)...

fix(admin/performance): Ensure that the tab's title (e.g. Database caching) and 'Performance' are visible in document title (#46602) (#46685)

Co-authored-by: default avatarRaphael Krut-Landau <raphael.kl@gmail.com>
parent 001ed0c5
No related branches found
No related tags found
No related merge requests found
......@@ -167,12 +167,21 @@ const getRoutes = (store, CanAccessSettings, IsAdmin) => (
path="performance"
component={createAdminRouteGuard("performance")}
>
<IndexRoute title={t`Performance`} path="" component={PerformanceApp} />
<Route
title={t`Model persistence`}
path={PerformanceTabId.Models}
component={() => <PerformanceApp tabId={PerformanceTabId.Models} />}
/>
<Route title={t`Performance`}>
<IndexRedirect to={PerformanceTabId.Databases} />
<Route
title={t`Database caching`}
path={PerformanceTabId.Databases}
component={() => (
<PerformanceApp tabId={PerformanceTabId.Databases} />
)}
/>
<Route
title={t`Model persistence`}
path={PerformanceTabId.Models}
component={() => <PerformanceApp tabId={PerformanceTabId.Models} />}
/>
</Route>
</Route>
<Route
path="tools"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment