mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #2824 from overleaf/jel-file-count
Exclude deleted files from getFullCount GitOrigin-RevId: 2d01dc7aee50e8a237fe4c7dc9bbaae27ac53cc1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user