Tweak
This commit is contained in:
@@ -873,7 +873,7 @@ export default function Gallery() {
|
||||
}
|
||||
|
||||
// `peopleState` will be undefined only when ML is disabled, otherwise it'll
|
||||
// be contain empty arrays (even if people are loading).
|
||||
// be present, with empty arrays, even if people data is still syncing.
|
||||
const showPeopleSectionButton = peopleState !== undefined;
|
||||
|
||||
return (
|
||||
@@ -1058,8 +1058,8 @@ export default function Gallery() {
|
||||
<GalleryEmptyState openUploader={openUploader} />
|
||||
) : !isInSearchMode &&
|
||||
!isFirstLoad &&
|
||||
barMode == "people" &&
|
||||
!activePerson ? (
|
||||
state.view.type == "people" &&
|
||||
!state.view.activePerson ? (
|
||||
<PeopleEmptyState />
|
||||
) : (
|
||||
<PhotoFrame
|
||||
|
||||
@@ -50,7 +50,7 @@ export const PeopleEmptyState: React.FC = () => {
|
||||
const message =
|
||||
mlStatus?.phase == "done"
|
||||
? pt(
|
||||
"People will be shown here after there are sufficient photos of a person",
|
||||
"People will be shown here when there are sufficient photos of a person",
|
||||
)
|
||||
: pt("Syncing...");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user