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

Commit 395311b

Browse files
committed
we should have the topic
1 parent 415e9ea commit 395311b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/javascripts/discourse/lib/ai-streamer/updaters/post-updater.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class PostUpdater extends StreamUpdater {
1818
this.post = postStream.findLoadedPost(postId);
1919
const topicId = postStream.topic.id;
2020

21-
if (this.post && topicId) {
21+
if (this.post) {
2222
this.postElement = document.querySelector(
2323
`.topic-area[data-topic-id="${topicId}"] #post_${this.post.post_number}`
2424
);

0 commit comments

Comments
 (0)