Skip to content

A platform for community discussion. Free, open, simple.

FIX: Participants may not be in topic maps's attributes.

Guo Xiang Tanc5cc58254990
diff --git a/app/assets/javascripts/discourse/widgets/topic-map.js.es6 b/app/assets/javascripts/discourse/widgets/topic-map.js.es6
index 00f22cbf65f..88da22a63ad 100644
--- a/app/assets/javascripts/discourse/widgets/topic-map.js.es6
+++ b/app/assets/javascripts/discourse/widgets/topic-map.js.es6
@@ -153,6 +153,7 @@ createWidget("topic-map-summary", {
if (
state.collapsed &&
attrs.topicPostsCount > 2 &&
+ attrs.participants &&
attrs.participants.length > 0
) {
const participants = renderParticipants.call(