From e59dbb02175ec394a35c496201da71c90cd6a50a Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 5 Feb 2019 23:19:26 -0500 Subject: mostly working version, but confused about LayoutKeys needing to inquire value seemingly unecessarily --- src/views/collections/CollectionDockingView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/views/collections/CollectionDockingView.tsx') diff --git a/src/views/collections/CollectionDockingView.tsx b/src/views/collections/CollectionDockingView.tsx index adb885859..4bbbeeecd 100644 --- a/src/views/collections/CollectionDockingView.tsx +++ b/src/views/collections/CollectionDockingView.tsx @@ -100,7 +100,7 @@ export class CollectionDockingView extends CollectionViewBase { for (var i: number = 0; i < value.length; i++) { if (value[i].Id === component) { var data = value[i].GetField(KeyStore.Data); - return (); + return (); } } if (component === "text") { @@ -242,7 +242,7 @@ export class CollectionDockingView extends CollectionViewBase { setTimeout(function () { var data = state.doc.GetField(KeyStore.Data); ReactDOM.render(( - + ), document.getElementById(containingDiv) ); -- cgit v1.2.3-70-g09d2