From 4fac4a888006479f320c9cad46d762e4229a4b10 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Thu, 18 Feb 2021 18:42:46 +0200 Subject: [PATCH] fix(docs-infra): show the "Errors List" page under "ERRORS" in search results (#40881) Previously, the "Errors List" page was appearing under the "OTHER" section in search results. This commit fixes this to make it appear under the "ERRORS" section. Before: ![search-results before][1] After: ![search-results after][2] [1]: https://user-images.githubusercontent.com/8604205/107691151-c1b8ed80-6cb3-11eb-8079-fcace685f0ec.png [2]: https://user-images.githubusercontent.com/8604205/107691145-bfef2a00-6cb3-11eb-8523-b2747fa40469.png PR Close #40881 --- aio/src/app/shared/search-results/search-results.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/src/app/shared/search-results/search-results.component.ts b/aio/src/app/shared/search-results/search-results.component.ts index 7703cdc699..6d253bc7cc 100644 --- a/aio/src/app/shared/search-results/search-results.component.ts +++ b/aio/src/app/shared/search-results/search-results.component.ts @@ -30,7 +30,7 @@ export class SearchResultsComponent implements OnChanges { readonly defaultArea = 'other'; searchState: SearchState = SearchState.InProgress; - readonly topLevelFolders = ['api', 'cli', 'guide', 'start', 'tutorial']; + readonly topLevelFolders = ['api', 'cli', 'errors', 'guide', 'start', 'tutorial']; searchAreas: SearchArea[] = []; ngOnChanges() {