diff options
| author | bobzel <zzzman@gmail.com> | 2024-09-12 09:50:31 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-09-12 09:50:31 -0400 |
| commit | 623da0b4eec34fbd238cc26a5e0c105426a6711e (patch) | |
| tree | 7ac87cd3265102d6a1b12e56a46c2cf006bd09a8 /src/client/views/collections/collectionFreeForm | |
| parent | d3817d1c03b68ab2c69ab5ccfb5e8d6943df8f25 (diff) | |
added tags for multi-selections.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx b/src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx index f9f6c81ab..534f67927 100644 --- a/src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx +++ b/src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx @@ -179,7 +179,7 @@ export class UniqueFaceBox extends ViewBoxBaseComponent<FieldViewProps>() { ele?.addEventListener('wheel', this.onPassiveWheel, { passive: false }); })}> {FaceRecognitionHandler.UniqueFaceImages(this.Document).map((doc, i) => { - const [name, type] = ImageCast(doc[Doc.LayoutFieldKey(doc)]).url.href.split('.'); + const [name, type] = ImageCast(doc[Doc.LayoutFieldKey(doc)])?.url.href.split('.') ?? ['-missing-', '.png']; return ( <div className="image-wrapper" |
