diff --git a/app/assets/javascripts/discourse/models/category-list.js.es6 b/app/assets/javascripts/discourse/models/category-list.js.es6
index 9e6375adb..987e50205 100644
--- a/app/assets/javascripts/discourse/models/category-list.js.es6
+++ b/app/assets/javascripts/discourse/models/category-list.js.es6
@@ -37,7 +37,6 @@ CategoryList.reopenClass({
c.topics = c.topics.map(t => Discourse.Topic.create(t));
}
- c["pick" + statPeriod[0].toUpperCase() + statPeriod.slice(1)] = true;
switch(statPeriod) {
case "week":
@@ -47,11 +46,13 @@ CategoryList.reopenClass({
if (stat > 0) {
c.stat = `${stat} / ${unit}`;
c.statTitle = I18n.t("categories.topic_stat_sentence", { count: stat, unit: unit });
+ c["pick" + statPeriod[0].toUpperCase() + statPeriod.slice(1)] = true;
break;
}
default:
c.stat = `${c.topics_all_time}`;
c.statTitle = I18n.t("categories.topic_sentence", { count: c.topics_all_time });
+ c.pickAll = true;
break;
}
diff --git a/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs b/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs
index 6cb0f8c03..2a5d98788 100644
--- a/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs
+++ b/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs
@@ -33,9 +33,8 @@