mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 19:55:43 +00:00
FIX: Do not show latest count in tabs on tag lists
This commit is contained in:
parent
025d4ee91f
commit
6bbda8eae9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user