mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #2739 from overleaf/ns-jpa-project-count
Ensure trashed project are not counted in uncategorized count GitOrigin-RevId: 0d25ee0bb4fe08c68a83e72536edb9a92f058533
This commit is contained in:
parent
dba294377c
commit
e54618e7de
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ define(['../../base', './services/project-list'], function(App) {
|
||||||
$scope.projects.filter(
|
$scope.projects.filter(
|
||||||
project =>
|
project =>
|
||||||
(project.tags == null || project.tags.length === 0) &&
|
(project.tags == null || project.tags.length === 0) &&
|
||||||
!project.archived
|
!project.archived &&
|
||||||
|
!project.trashed
|
||||||
).length,
|
).length,
|
||||||
newVal => ($scope.nUntagged = newVal)
|
newVal => ($scope.nUntagged = newVal)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue