mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 04:41:32 +02: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user