Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit eca939d

Browse files
committed
fixes
1 parent bfd3a63 commit eca939d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

app/controllers/discourse_ai/ai_helper/assistant_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def suggest
4343
prompt,
4444
input,
4545
current_user,
46-
force_default_locale,
46+
force_default_locale: force_default_locale,
4747
),
4848
status: 200
4949
end

assets/javascripts/discourse/components/modal/diff-modal.gjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ export default class ModalDiffModal extends Component {
8989
});
9090
} catch (e) {
9191
popupAjaxError(e);
92+
} finally {
93+
this.loading = false;
9294
}
9395
}
9496

assets/javascripts/discourse/components/thumbnail-suggestion-item.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class ThumbnailSuggestionItem extends Component {
1818
return this.args.removeSelection(thumbnail);
1919
}
2020

21-
this.selectIcon = "check-circle";
21+
this.selectIcon = "circle-check";
2222
this.selectLabel = "discourse_ai.ai_helper.thumbnail_suggestions.selected";
2323
this.selected = true;
2424
return this.args.addSelection(thumbnail);

0 commit comments

Comments
 (0)