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

Commit 62ca8d3

Browse files
committed
bug unsubscribe should unsubscribe
1 parent 2f8caa3 commit 62ca8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/javascripts/discourse/components/modal/diff-modal.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default class ModalDiffModal extends Component {
7676
@bind
7777
unsubscribe() {
7878
const channel = "/discourse-ai/ai-helper/stream_composer_suggestion";
79-
this.messageBus.subscribe(channel, this.updateResult);
79+
this.messageBus.unsubscribe(channel, this.updateResult);
8080
}
8181

8282
@action

0 commit comments

Comments
 (0)