Title is on the file, not the data.

This commit is contained in:
Roland 2023-04-06 11:05:14 -06:00
parent e71f17749a
commit d3756ae33b
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -160,7 +160,7 @@ function ArchivePage() {
<Segment>
{screenshot}
<ExternalCardLink to={singlefileUrl}>
<Header as='h2'>{textEllipsis(data.title || data.url)}</Header>
<Header as='h2'>{textEllipsis(archiveFile.title || data.url)}</Header>
</ExternalCardLink>
<Header as='h3'>{isoDatetimeToString(data.archive_datetime)}</Header>
{domainHeader}