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
This commit is contained in:
George Kalpakas 2021-02-18 18:42:46 +02:00 committed by atscott
parent fb58a2bd54
commit 4fac4a8880
1 changed files with 1 additions and 1 deletions

View File

@ -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() {