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

Commit 95160c8

Browse files
authored
FIX: Remove incorrect full-page-search app event (#1209)
This appEvent is not firing on click, but instead on `resetAiResults`. This action is fired many times during page load.
1 parent 2a8be6e commit 95160c8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

assets/javascripts/discourse/components/ai-full-page-search.gjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,6 @@ export default class AiFullPageSearch extends Component {
172172
this.AiResults = [];
173173
this.showingAiResults = false;
174174
this.args.addSearchResults([], "topic_id");
175-
this.appEvents.trigger(AI_RESULTS_TOGGLED, {
176-
enabled: false,
177-
});
178175
}
179176

180177
performHyDESearch() {

0 commit comments

Comments
 (0)