diff --git a/package.json b/package.json index b5379e68ea3..3b4716548ab 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "@gql2ts/language-typescript": "^1.9.0", "@percy/puppeteer": "^1.0.8", "@sourcegraph/babel-plugin-transform-react-hot-loader-wrapper": "^1.0.0", - "@sourcegraph/eslint-config": "^0.4.0", + "@sourcegraph/eslint-config": "^0.4.3", "@sourcegraph/prettierrc": "^3.0.1", "@sourcegraph/stylelint-config": "^1.1.4", "@sourcegraph/tsconfig": "^4.0.0", diff --git a/web/src/search/results/SearchResultsInfoBar.tsx b/web/src/search/results/SearchResultsInfoBar.tsx index 84650b44949..7255ef5f909 100644 --- a/web/src/search/results/SearchResultsInfoBar.tsx +++ b/web/src/search/results/SearchResultsInfoBar.tsx @@ -97,28 +97,27 @@ export const SearchResultsInfoBar: React.FunctionComponent
{/* Time stats */} - { -
- - {props.results.approximateResultCount}{' '} - {pluralize('result', props.results.resultCount)} in{' '} - {(props.results.elapsedMilliseconds / 1000).toFixed(2)} seconds - {props.results.indexUnavailable && ' (index unavailable)'} - {/* Nonbreaking space */} - {props.results.limitHit && String.fromCharCode(160)} - - {/* Instantly accessible "show more button" */} - {props.results.limitHit && ( - - )} -
- } +
+ + {props.results.approximateResultCount}{' '} + {pluralize('result', props.results.matchCount)} in{' '} + {(props.results.elapsedMilliseconds / 1000).toFixed(2)} seconds + {props.results.indexUnavailable && ' (index unavailable)'} + {/* Nonbreaking space */} + {props.results.limitHit && String.fromCharCode(160)} + + {/* Instantly accessible "show more button" */} + {props.results.limitHit && ( + + )} +
+ {/* Missing repos */} {props.results.missing.length > 0 && (