Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Hide People header until we start showing clusters

Manav Rathif89e3793ecae
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..103dddaae8 100644
--- a/web/apps/photos/src/components/Search/SearchBar/searchInput/MenuWithPeople.tsx
+++ b/web/apps/photos/src/components/Search/SearchBar/searchInput/MenuWithPeople.tsx
@@ -2,7 +2,6 @@ import { PeopleList } from "@/new/photos/components/PeopleList";
import { isMLEnabled } from "@/new/photos/services/ml";
import { Row } from "@ente/shared/components/Container";
import { Box, styled } from "@mui/material";
-import { t } from "i18next";
import { components } from "react-select";
import { Suggestion, SuggestionType } from "types/search";
@@ -36,12 +35,13 @@ const MenuWithPeople = (props) => {
return (
<Menu {...props}>
<Box my={1}>
- {((isMLEnabled() && indexStatus) ||
+ {/* TODO: Hide People header until we start showing cgroups
+ {((isMLEnabled() && indexStatus) ||
(people && people.length > 0)) && (
<Box>
<Legend>{t("PEOPLE")}</Legend>
</Box>
- )}
+ )} */}
{isMLEnabled() && indexStatus && (
<Box>
<Caption>{indexStatusSuggestion.label}</Caption>