diff --git a/src/components/SearchProcessor.tsx b/src/components/SearchProcessor.tsx index 84c27b1..b1ebf15 100644 --- a/src/components/SearchProcessor.tsx +++ b/src/components/SearchProcessor.tsx @@ -268,15 +268,16 @@ const SearchProcessor = (props: SearchProcessorProps): JSX.Element => { return (
- + - + diff --git a/src/components/SearchStatus.tsx b/src/components/SearchStatus.tsx index 61b435b..c3a5557 100644 --- a/src/components/SearchStatus.tsx +++ b/src/components/SearchStatus.tsx @@ -17,10 +17,11 @@ type SearchStatusProps = { resultsCount: number; searching: boolean; type: SearchStatusType; + officialOnly?: boolean; }; const SearchStatus = (props: SearchStatusProps): JSX.Element => { - const { searching, resultsCount, query, type } = props; + const { searching, resultsCount, query, type, officialOnly } = props; const typeDescription = SearchStatusTypeMap[type]; if (searching) { @@ -50,7 +51,16 @@ const SearchStatus = (props: SearchStatusProps): JSX.Element => { ); } - return No result found{formattedQuery}.; + if (officialOnly) { + return ( + + No result found{formattedQuery} from Official buckets. Try modifying the filters for possible + manifests. + + ); + } else { + return No result found{formattedQuery}.; + } }; export default React.memo(SearchStatus);