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

Commit 2271f34

Browse files
committed
add force stop custom sidebar appEvents
1 parent 49e7d5e commit 2271f34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets/javascripts/discourse/services/ai-conversations-sidebar-manager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export default class AiConversationsSidebarManager extends Service {
2727

2828
this.sidebarState.isForcingSidebar = true;
2929
document.body.classList.add("has-ai-conversations-sidebar");
30+
this.appEvents.trigger("discourse-ai:force-custom-sidebar");
3031
return true;
3132
}
3233

0 commit comments

Comments
 (0)