FIX: Correctly get the topic_id from the first post (#22110)

This commit is contained in:
Roman Rizzi
2023-06-14 11:52:27 -03:00
committed by GitHub
parent a49b45dc14
commit 9e20fcb9c1

View File

@@ -271,7 +271,7 @@ export default MountWidget.extend({
showSummary() {
showModal("topic-summary").setProperties({
topicId: this.posts["posts"][0].topic_id,
topicId: this.posts.objectAt(0).topic_id,
});
},