aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-06-28 16:27:38 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-06-28 16:27:38 -0400
commit4e00ff1c268f0c5453b448dd1810e14c47b37969 (patch)
tree40d2d53becd52ce5260b82c5c8cafdee0f36ca43 /src
parent618ab13746e51eff826ad60504147b3ea9f8d90c (diff)
test2
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/DocumentContentsView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentContentsView.tsx b/src/client/views/nodes/DocumentContentsView.tsx
index 0da4888a1..240b21714 100644
--- a/src/client/views/nodes/DocumentContentsView.tsx
+++ b/src/client/views/nodes/DocumentContentsView.tsx
@@ -52,7 +52,8 @@ export class DocumentContentsView extends React.Component<DocumentViewProps & {
const layout = Cast(layoutDoc[this.props.layoutKey], "string");
if (layout === undefined) {
return this.props.Document.data ?
- "<FieldView {...props} fieldKey='data' />" :
+ "null" :
+ // "<FieldView {...props} fieldKey='data' />" :
KeyValueBox.LayoutString(layoutDoc.proto ? "proto" : "");
} else if (typeof layout === "string") {
return layout;