From b44d0bfb858f83e46948060345feb7cfe3568bc4 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Fri, 28 Jul 2017 14:41:33 +0100 Subject: [PATCH] Ignore deleted projects when determining the number of uncategorized projects. --- .../web/public/coffee/main/project-list/project-list.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/main/project-list/project-list.coffee b/services/web/public/coffee/main/project-list/project-list.coffee index 5d0341656e..cafbd7c81b 100644 --- a/services/web/public/coffee/main/project-list/project-list.coffee +++ b/services/web/public/coffee/main/project-list/project-list.coffee @@ -20,7 +20,7 @@ define [ , 10 $scope.$watch(( - () -> $scope.projects.filter((project) -> !project.tags? or project.tags.length == 0).length + () -> $scope.projects.filter((project) -> (!project.tags? or project.tags.length == 0) and !project.archived).length ), (newVal) -> $scope.nUntagged = newVal) storedUIOpts = JSON.parse(localStorage("project_list"))