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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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