mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 02:17:57 +08:00
FIX: Correctly get the topic_id from the first post (#22110)
This commit is contained in:
parent
a49b45dc14
commit
9e20fcb9c1
@ -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,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user