30 lines
1.2 KiB
Diff
30 lines
1.2 KiB
Diff
diff --git a/chrome/browser/resources/settings/route.ts b/chrome/browser/resources/settings/route.ts
|
|
index 57805ae52b9acb35d8ffafd5fa1cc964a9b3c00f..c5837801265461df0bc541b9325c2a82bb0a16b2 100644
|
|
--- a/chrome/browser/resources/settings/route.ts
|
|
+++ b/chrome/browser/resources/settings/route.ts
|
|
@@ -9,6 +9,7 @@ import {pageVisibility} from './page_visibility.js';
|
|
import type {SettingsRoutes} from './router.js';
|
|
import {Route, Router} from './router.js';
|
|
|
|
+import addBraveRoutes from './brave_routes.js'
|
|
/**
|
|
* Add all of the child routes that originate from the privacy route,
|
|
* regardless of whether the privacy section under basic or advanced.
|
|
@@ -328,6 +329,7 @@ function createRoutes(): SettingsRoutes {
|
|
loadTimeData.getString('performancePageTitle'));
|
|
}
|
|
|
|
+ addBraveRoutes(r);
|
|
return r as unknown as SettingsRoutes;
|
|
}
|
|
|
|
@@ -361,7 +363,7 @@ export let routes: SettingsRoutes = Router.getInstance().getRoutes();
|
|
// Returns the "effective" route when at chrome://settings/.
|
|
export function getTopLevelRoute(): Route {
|
|
if (!loadTimeData.getBoolean('isGuest')) {
|
|
- return routes.PEOPLE;
|
|
+ return routes.GET_STARTED;
|
|
}
|
|
|
|
let guestTopLevelRoute = routes.SEARCH;
|