aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackingViewFieldColumn.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-01-22 12:08:20 -0500
committerbob <bcz@cs.brown.edu>2020-01-22 12:08:20 -0500
commit5a6f6868dc25b2b24c6c7f4a7bc25670e6a35f47 (patch)
tree31cf7400f701dd215c6004a02a59bb72fb2ea3d0 /src/client/views/collections/CollectionStackingViewFieldColumn.tsx
parent17c4ca6f517ab786f3c6b269c95a9b5ae4b0ff9a (diff)
fixed template/scripting problem. added collectionDoc parameter for onClick scripts. made buxton layout update hero image on click.
Diffstat (limited to 'src/client/views/collections/CollectionStackingViewFieldColumn.tsx')
-rw-r--r--src/client/views/collections/CollectionStackingViewFieldColumn.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx
index 229a23294..f0dcadb5b 100644
--- a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx
+++ b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx
@@ -145,7 +145,7 @@ export class CollectionStackingViewFieldColumn extends React.Component<CSVFieldC
if (created) {
created.title = fieldKey;
if (this.props.parent.Document.isTemplateDoc) {
- Doc.MakeMetadataFieldTemplate(created, this.props.parent.props.Document, true);
+ Doc.MakeMetadataFieldTemplate(created, this.props.parent.props.Document);
}
}
return created ? addDocument(created) : false;