mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
FIX: Do not show latest count in tabs on tag lists
This commit is contained in:
@ -19,7 +19,10 @@ const NavItem = Discourse.Model.extend({
|
||||
displayName(categoryName, name, count) {
|
||||
count = count || 0;
|
||||
|
||||
if (name === "latest" && !Discourse.Site.currentProp("mobileView")) {
|
||||
if (
|
||||
name === "latest" &&
|
||||
(!Discourse.Site.currentProp("mobileView") || this.tagId !== undefined)
|
||||
) {
|
||||
count = 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user