Fix another crash
This commit is contained in:
parent
1f13343f03
commit
80ca69bdcc
@ -62,7 +62,7 @@ export class HorizontalGallery extends Component<typeof component_arguments> {
|
||||
alt: image.alt,
|
||||
})}
|
||||
</div>
|
||||
{image.caption.trim() ? (
|
||||
{image.caption?.trim() ? (
|
||||
<div class="caption">{image.caption}</div>
|
||||
) : (
|
||||
""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user