mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-23 01:27:14 +02:00
Fixing faces filter #287
This commit is contained in:
parent
35875b8aad
commit
b24d5f4779
@ -37,7 +37,7 @@ export class FilterService {
|
||||
},
|
||||
{
|
||||
name: $localize`Faces`,
|
||||
mapFn: (m: PhotoDTO): string[] => m.metadata.faces?.map(f => f.name),
|
||||
mapFn: (m: PhotoDTO): string[] => (m.metadata.faces ? m.metadata.faces.map(f => f.name) : ['<' + $localize`no face` + '>']),
|
||||
renderType: FilterRenderType.enum,
|
||||
isArrayValue: true,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user