mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #2824 from overleaf/jel-file-count
Exclude deleted files from getFullCount GitOrigin-RevId: 2d01dc7aee50e8a237fe4c7dc9bbaae27ac53cc1
This commit is contained in:
parent
f298787565
commit
a0c9b12204
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ define([
|
|||
getFullCount() {
|
||||
const entities = []
|
||||
this.forEachEntity(function(e) {
|
||||
return entities.push(e)
|
||||
if (!e.deleted) entities.push(e)
|
||||
})
|
||||
return entities.length
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue