Ignore deleted projects when determining the number of uncategorized projects.

This commit is contained in:
Paulo Reis 2017-07-28 14:41:33 +01:00
parent 63eacad899
commit b44d0bfb85

View file

@ -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"))