aboutsummaryrefslogtreecommitdiff
path: root/src/views/collections/CollectionDockingView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2019-02-05 23:19:26 -0500
committerbobzel <zzzman@gmail.com>2019-02-05 23:19:26 -0500
commite59dbb02175ec394a35c496201da71c90cd6a50a (patch)
treecf56fe399dca0fb64fece2ee1ed22044d95ea25c /src/views/collections/CollectionDockingView.tsx
parent4ac7a62d813738b0047caefbcf40d3063ec9e6c1 (diff)
mostly working version, but confused about LayoutKeys needing to inquire value seemingly unecessarily
Diffstat (limited to 'src/views/collections/CollectionDockingView.tsx')
-rw-r--r--src/views/collections/CollectionDockingView.tsx4
1 files changed, 2 insertions, 2 deletions
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 (<DocumentView key={value[i].Id} ContainingCollectionView={this} Document={value[i]} DocumentView={undefined} Data={data} />);
+ return (<DocumentView key={value[i].Id} ContainingCollectionView={this} Document={value[i]} DocumentView={undefined} />);
}
}
if (component === "text") {
@@ -242,7 +242,7 @@ export class CollectionDockingView extends CollectionViewBase {
setTimeout(function () {
var data = state.doc.GetField(KeyStore.Data);
ReactDOM.render((
- <DocumentView key={state.doc.Id} Document={state.doc} ContainingCollectionView={me} DocumentView={undefined} Data={data} />
+ <DocumentView key={state.doc.Id} Document={state.doc} ContainingCollectionView={me} DocumentView={undefined} />
),
document.getElementById(containingDiv)
);