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