Merge pull request #2654 from overleaf/sk-ns-fix-tag-count-for-real

Ensure tag count doesn't include trashed projects

GitOrigin-RevId: d1ccafe8b8553378c8d25504494d790ee342fedb
This commit is contained in:
nate stemen 2020-03-05 10:42:07 -05:00 committed by Copybot
parent 34a40296f4
commit 818d19bd69

View file

@ -31,7 +31,7 @@ define(['base', 'ide/colors/ColorManager'], function(App, ColorManager) {
if (!project) return acc if (!project) return acc
// Ignore archived projects as they are not shown in the filter // Ignore archived projects as they are not shown in the filter
if (!project.archived) { if (!(project.archived || project.trashed)) {
return acc + 1 return acc + 1
} else { } else {
return acc return acc