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

This commit is contained in:
Guo Xiang Tan 2018-06-21 10:23:55 +08:00
parent c1972f8438
commit c5cc582549
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ createWidget("topic-map-summary", {
if ( if (
state.collapsed && state.collapsed &&
attrs.topicPostsCount > 2 && attrs.topicPostsCount > 2 &&
attrs.participants &&
attrs.participants.length > 0 attrs.participants.length > 0
) { ) {
const participants = renderParticipants.call( const participants = renderParticipants.call(