PunimTag Web Application - Major Feature Release #1

Open
tanyar09 wants to merge 106 commits from dev into master
Showing only changes of commit 8f8aa33503 - Show all commits

View File

@ -1075,7 +1075,7 @@ export function PhotoViewerClient({
const peopleNames = (currentPhoto as any).faces
?.map((face: any) => face.Person)
.filter((person: any): person is Person => person !== null)
.filter((person: any): person is Person => person != null)
.map((person: Person) => `${person.first_name} ${person.last_name}`.trim()) || [];
const tags = (currentPhoto as any).PhotoTagLinkage?.map((pt: any) => pt.Tag.tag_name) || [];