project_search: Fix message displayed when no results are found (#19108)
CharlesChen0823
and
Marshall Bowers
created
when no result found, always display `Search all files`, which is
confused.
Release Notes:
- Fixed an issue where the project search would sometimes show "Search
all files" when there were no results.
---------
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>