mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-21 07:43:31 +00:00
Merge pull request #562 from sharelatex/pr-ignore-deleted-projects-uncategorized
Correct count of uncategorized projects
This commit is contained in:
commit
b2e6c028ba
1 changed files with 1 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue