Skip to content

Commit

Permalink
TorrentGeneralInfo: display "None" when there is no comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jesec committed Apr 27, 2022
1 parent 5131993 commit 7486249
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ const TorrentGeneralInfo: FC = observer(() => {
<td className="torrent-details__detail__label">
<Trans id="torrents.details.general.comment" />
</td>
<td className="torrent-details_detail__value">
<LinkedText text={torrent.comment} />
<td className="torrent-details__detail__value">
{torrent.comment ? <LinkedText text={torrent.comment} /> : VALUE_NOT_AVAILABLE}
</td>
</tr>
<tr className="torrent-details__table__heading">
Expand Down

0 comments on commit 7486249

Please sign in to comment.