Skip to content

Commit

Permalink
FIX: New illustrate post suggestions should be auto tracked (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
keegangeorge committed Jan 10, 2024
1 parent abde82c commit 726cffc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 726cffc

Please sign in to comment.