diff --git a/web/apps/photos/src/components/Search/SearchBar/searchInput/MenuWithPeople.tsx b/web/apps/photos/src/components/Search/SearchBar/searchInput/MenuWithPeople.tsx index 56dbd305fb..25aa944d8e 100644 --- a/web/apps/photos/src/components/Search/SearchBar/searchInput/MenuWithPeople.tsx +++ b/web/apps/photos/src/components/Search/SearchBar/searchInput/MenuWithPeople.tsx @@ -36,12 +36,16 @@ const MenuWithPeople = (props) => { return ( - {((isMLEnabled() && indexStatus) || - (people && people.length > 0)) && ( - - {t("PEOPLE")} - - )} + {isMLEnabled() && + indexStatus && + (people && people.length > 0 ? ( + + {t("PEOPLE")} + + ) : ( + + ))} + {isMLEnabled() && indexStatus && ( {indexStatusSuggestion.label}