mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
FIX: A regression in b797434 (#25694)
This resulted in showing the unread count on the "Latest" nav item on desktop.
This commit is contained in:
parent
cb8958f204
commit
368551da2f
@ -249,7 +249,7 @@ export default class NavItem extends EmberObject {
|
||||
let count = this.count || 0;
|
||||
|
||||
if (
|
||||
name === "latest" &&
|
||||
this.name === "latest" &&
|
||||
(!Site.currentProp("mobileView") || this.tagId !== undefined)
|
||||
) {
|
||||
count = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user