mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-05 04:28:17 +00:00
Deleted docs null check
This commit is contained in:
parent
07debb2450
commit
d9c8e5c1c2
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ define [
|
|||
|
||||
loadDeletedDocs: () ->
|
||||
@$scope.deletedDocs = []
|
||||
for doc in @$scope.project.deletedDocs
|
||||
for doc in @$scope.project.deletedDocs or []
|
||||
@$scope.deletedDocs.push {
|
||||
name: doc.name
|
||||
id: doc._id
|
||||
|
|
Loading…
Reference in a new issue