Skip to content

Commit

Permalink
Update javascripts/discourse/components/topic-list-thumbnail.gjs
Browse files Browse the repository at this point in the history
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
  • Loading branch information
davidtaylorhq and CvX authored Dec 16, 2024
1 parent 835fa69 commit e2a1f3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascripts/discourse/components/topic-list-thumbnail.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export default class TopicListThumbnail extends Component {
}

get url() {
return this.topic.linked_post_number
? this.topic.urlForPostNumber(this.topic.linked_post_number)
return this.topic.get("linked_post_number")
? this.topic.urlForPostNumber(this.topic.get("linked_post_number"))
: this.topic.get("lastUnreadUrl");
}

Expand Down

0 comments on commit e2a1f3c

Please sign in to comment.