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:
Jarek Radosz 2024-02-15 11:45:36 +01:00 committed by GitHub
parent cb8958f204
commit 368551da2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;