diff --git a/app/assets/javascripts/discourse/app/widgets/topic-map.js b/app/assets/javascripts/discourse/app/widgets/topic-map.js index 9ecb167fc23c80..7f21df2aac4bf0 100644 --- a/app/assets/javascripts/discourse/app/widgets/topic-map.js +++ b/app/assets/javascripts/discourse/app/widgets/topic-map.js @@ -75,7 +75,7 @@ createWidget("topic-participant", { }), ]; - if (attrs.post_count > 2) { + if (attrs.post_count > 1) { linkContents.push(h("span.post-count", attrs.post_count.toString())); } diff --git a/app/assets/javascripts/discourse/tests/integration/widgets/topic-participant-test.js b/app/assets/javascripts/discourse/tests/integration/widgets/topic-participant-test.js index 1c81bed4973b25..38ba3462e042a4 100644 --- a/app/assets/javascripts/discourse/tests/integration/widgets/topic-participant-test.js +++ b/app/assets/javascripts/discourse/tests/integration/widgets/topic-participant-test.js @@ -37,7 +37,7 @@ discourseModule( this.set("args", { username: "test", avatar_template: "/images/avatar.png", - post_count: 5, + post_count: 2, primary_group_name: "devs", flair_name: "devs", flair_url: "/images/d-logo-sketch-small.png",