1
0
mirror of synced 2026-08-05 07:16:54 +00:00

UX: make topic list gists link to the topic (#1459)

This commit is contained in:
Kris
2025-06-24 09:14:18 -04:00
committed by GitHub
parent 4c1cd5d819
commit 757c93e514
2 changed files with 5 additions and 4 deletions
@@ -24,16 +24,16 @@ export default class AiTopicGist extends Component {
<template>
{{#if this.shouldShow}}
{{#if this.hasGist}}
<div class="excerpt">
<a href={{@topic.lastUnreadUrl}} class="excerpt">
<div class="excerpt__contents">{{this.gist}}</div>
</div>
</a>
{{else}}
{{#if this.escapedExcerpt}}
<div class="excerpt">
<a href={{@topic.lastUnreadUrl}} class="excerpt">
<div class="excerpt__contents">
{{htmlSafe this.escapedExcerpt}}
</div>
</div>
</a>
{{/if}}
{{/if}}
{{/if}}