Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,14 @@ export default class AiFullPageSearch extends Component {
@action
toggleAiResults() {
if (this.showingAiResults) {
this.appEvents.trigger("full-page-search:ai-results-toggled", {
enabled: false,
});
this.args.addSearchResults([], "topic_id");
} else {
this.appEvents.trigger("full-page-search:ai-results-toggled", {
enabled: true,
});
this.args.addSearchResults(this.AiResults, "topic_id");
}
this.showingAiResults = !this.showingAiResults;
Expand All @@ -136,6 +142,9 @@ export default class AiFullPageSearch extends Component {
this.AiResults = [];
this.showingAiResults = false;
this.args.addSearchResults([], "topic_id");
this.appEvents.trigger("full-page-search:ai-results-toggled", {
enabled: false,
});
}

performHyDESearch() {
Expand Down
Loading