From 818d19bd695ecfc33b1702e93daecfa26aca6688 Mon Sep 17 00:00:00 2001 From: nate stemen Date: Thu, 5 Mar 2020 10:42:07 -0500 Subject: [PATCH] Merge pull request #2654 from overleaf/sk-ns-fix-tag-count-for-real Ensure tag count doesn't include trashed projects GitOrigin-RevId: d1ccafe8b8553378c8d25504494d790ee342fedb --- services/web/frontend/js/main/project-list/tag-controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/frontend/js/main/project-list/tag-controllers.js b/services/web/frontend/js/main/project-list/tag-controllers.js index ad21855ea1..4e666bd571 100644 --- a/services/web/frontend/js/main/project-list/tag-controllers.js +++ b/services/web/frontend/js/main/project-list/tag-controllers.js @@ -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