Truncate item title
This commit is contained in:
parent
9f6a7d38b5
commit
616646c0d9
|
@ -44,7 +44,7 @@ const SearchResultItem = ({
|
|||
{year.substring(0, 4)}
|
||||
</div>
|
||||
<div className="search-result-item-title">
|
||||
{title}
|
||||
{title.length > 40 ? `${title.substring(0, 40)}...` : title}
|
||||
</div>
|
||||
<div className="search-result-item-action">
|
||||
{Object.values(itemStatusInLibrary)[Math.floor(Math.random() * Object.values(itemStatusInLibrary).length)]}
|
||||
|
|
Loading…
Reference in a new issue