mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-06 17:30:20 +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 previousMenuState = null;
|
||||||
@tracked customPromptValue = "";
|
@tracked customPromptValue = "";
|
||||||
@tracked initialValue = "";
|
@tracked initialValue = "";
|
||||||
|
@tracked thumbnailSuggestions = null;
|
||||||
|
|
||||||
CONTEXT_MENU_STATES = {
|
CONTEXT_MENU_STATES = {
|
||||||
triggers: "TRIGGERS",
|
triggers: "TRIGGERS",
|
||||||
@ -371,6 +372,7 @@ export default class AiHelperContextMenu extends Component {
|
|||||||
// resets the values if new suggestion is started:
|
// resets the values if new suggestion is started:
|
||||||
this.diff = null;
|
this.diff = null;
|
||||||
this.newSelectedText = null;
|
this.newSelectedText = null;
|
||||||
|
this.thumbnailSuggestions = null;
|
||||||
|
|
||||||
if (option.name === "illustrate_post") {
|
if (option.name === "illustrate_post") {
|
||||||
this._toggleLoadingState(false);
|
this._toggleLoadingState(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user