Skip to content
Snippets Groups Projects
Unverified Commit d36ee579 authored by Raphael Krut-Landau's avatar Raphael Krut-Landau 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)
parent 7397af58
Branches
Tags embedding-sdk-0.1.29
No related merge requests found
......@@ -162,12 +162,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.
Please register or to comment