mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Ignore deleted projects when determining the number of uncategorized projects.
This commit is contained in:
parent
63eacad899
commit
b44d0bfb85
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