From 43a312825bc91805b8b873f5d68b34b4e865a44a Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Tue, 6 Jun 2017 23:20:03 -0700 Subject: [PATCH] hot fix to DocumentStore#pathToDocument --- frontend/scenes/Document/DocumentStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/scenes/Document/DocumentStore.js b/frontend/scenes/Document/DocumentStore.js index e8835ba6c..fa9a662f0 100644 --- a/frontend/scenes/Document/DocumentStore.js +++ b/frontend/scenes/Document/DocumentStore.js @@ -58,7 +58,7 @@ class DocumentStore { path = previousPath; return; } else { - return traveler(childNode, newPath); + return traveler(childNode.chilren, newPath); } }); };