mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-30 23:22:41 +00:00
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:
parent
34a40296f4
commit
818d19bd69
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ define(['base', 'ide/colors/ColorManager'], function(App, ColorManager) {
|
|||
if (!project) return acc
|
||||
|
||||
// Ignore archived projects as they are not shown in the filter
|
||||
if (!project.archived) {
|
||||
if (!(project.archived || project.trashed)) {
|
||||
return acc + 1
|
||||
} else {
|
||||
return acc
|
||||
|
|
Loading…
Reference in a new issue