From d9c8e5c1c24deacd98a122efcb7c21ad9d05bd2e Mon Sep 17 00:00:00 2001 From: James Allen Date: Wed, 9 Jul 2014 15:01:33 +0100 Subject: [PATCH] Deleted docs null check --- services/web/public/coffee/ide/file-tree/FileTreeManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/ide/file-tree/FileTreeManager.coffee b/services/web/public/coffee/ide/file-tree/FileTreeManager.coffee index 812b5d3fb6..b7045da26f 100644 --- a/services/web/public/coffee/ide/file-tree/FileTreeManager.coffee +++ b/services/web/public/coffee/ide/file-tree/FileTreeManager.coffee @@ -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