mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-06 09:20:14 +00:00
FIX: New illustrate post suggestions should be auto tracked (#412)
This commit is contained in:
parent
abde82c1f3
commit
726cffc8af
@ -33,6 +33,7 @@ export default class AiHelperContextMenu extends Component {
|
||||
@tracked previousMenuState = null;
|
||||
@tracked customPromptValue = "";
|
||||
@tracked initialValue = "";
|
||||
@tracked thumbnailSuggestions = null;
|
||||
|
||||
CONTEXT_MENU_STATES = {
|
||||
triggers: "TRIGGERS",
|
||||
@ -371,6 +372,7 @@ export default class AiHelperContextMenu extends Component {
|
||||
// resets the values if new suggestion is started:
|
||||
this.diff = null;
|
||||
this.newSelectedText = null;
|
||||
this.thumbnailSuggestions = null;
|
||||
|
||||
if (option.name === "illustrate_post") {
|
||||
this._toggleLoadingState(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user