Skip to content

Commit

Permalink
title of image block is a text object
Browse files Browse the repository at this point in the history
  • Loading branch information
JP3BGY committed Dec 30, 2024
1 parent 95b6fcb commit dfb17be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewer/front/components/message/Block.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ class ImageBlock extends Component {
return (
<div className="image-block">
<div className="image-block-title">
{this.props.image.title}
{this.props.image.title && (<Text text={this.props.image.title} />)}
</div>
<Image image={this.props.image} />
</div>
Expand Down

0 comments on commit dfb17be

Please sign in to comment.