@@ -25,15 +25,15 @@ export default class ModalDiffModal extends Component {
@closeModal={{@closeModal}}
>
<:body>
- {{#if @diff}}
- {{htmlSafe @diff}}
+ {{#if @model.diff}}
+ {{htmlSafe @model.diff}}
{{else}}
- {{@oldValue}}
+ {{@model.oldValue}}
- {{@newValue}}
+ {{@model.newValue}}
{{/if}}
@@ -45,7 +45,7 @@ export default class ModalDiffModal extends Component {
@label="discourse_ai.ai_helper.context_menu.confirm"
/>
diff --git a/assets/javascripts/discourse/components/modal/thumbnail-suggestions.gjs b/assets/javascripts/discourse/components/modal/thumbnail-suggestions.gjs
index b56a37d8..09ef82e2 100644
--- a/assets/javascripts/discourse/components/modal/thumbnail-suggestions.gjs
+++ b/assets/javascripts/discourse/components/modal/thumbnail-suggestions.gjs
@@ -53,7 +53,7 @@ export default class ThumbnailSuggestions extends Component {
>
<:body>
- {{#each @thumbnails as |thumbnail|}}
+ {{#each @model.thumbnails as |thumbnail|}}