mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-06 17:30:20 +00:00
FIX: typo in topic gist for escapedExcerpt (#1003)
This commit is contained in:
parent
625fd06744
commit
50f61925eb
@ -17,7 +17,7 @@ export default class AiTopicGist extends Component {
|
||||
return this.args.topic.get("ai_topic_gist");
|
||||
}
|
||||
|
||||
get escapedExceprt() {
|
||||
get escapedExcerpt() {
|
||||
return this.args.topic.get("escapedExcerpt");
|
||||
}
|
||||
|
||||
@ -28,10 +28,10 @@ export default class AiTopicGist extends Component {
|
||||
<div class="excerpt__contents">{{this.gist}}</div>
|
||||
</div>
|
||||
{{else}}
|
||||
{{#if this.esacpedExceprt}}
|
||||
{{#if this.escapedExcerpt}}
|
||||
<div class="excerpt">
|
||||
<div class="excerpt__contents">
|
||||
{{htmlSafe this.escapedExceprt}}
|
||||
{{htmlSafe this.escapedExcerpt}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user