FIX: Top map is actually expanded when there is a summary

This commit is contained in:
Robin Ward 2016-03-10 10:59:32 -05:00
parent dd65e78431
commit 5bfc9cdf50
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ export default createWidget('topic-map', {
buildKey: attrs => `topic-map-${attrs.id}`,
defaultState(attrs) {
return { collapsed: (attrs.topicPostsCount || 0) < 50 };
return { collapsed: !attrs.hasTopicSummary };
},
html(attrs, state) {