diff --git a/web/apps/photos/src/services/searchService.ts b/web/apps/photos/src/services/searchService.ts index d5e17c269a..edc3899892 100644 --- a/web/apps/photos/src/services/searchService.ts +++ b/web/apps/photos/src/services/searchService.ts @@ -31,7 +31,9 @@ export const getDefaultOptions = async () => { return [ // TODO-ML(MR): Skip this for now if indexing is disabled (eventually // the indexing status should not be tied to results). - ...(await isFaceIndexingEnabled() ? [await getIndexStatusSuggestion()] : []), + ...((await isFaceIndexingEnabled()) + ? [await getIndexStatusSuggestion()] + : []), ...(await convertSuggestionsToOptions(await getAllPeopleSuggestion())), ].filter((t) => !!t); };