diff options
| author | bob <bcz@cs.brown.edu> | 2020-02-27 17:05:39 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2020-02-27 17:05:39 -0500 |
| commit | 8190b6557065828e3a5e7a6505c0963a433e27d1 (patch) | |
| tree | 75299b0ce8117e83e13b741fc9a39d36b20b99c1 /src/client/views/collections/CollectionStackingViewFieldColumn.tsx | |
| parent | 3c48667061fb417e3a7657a1951659d25b453a9f (diff) | |
adding colors to schema view will update the enumerated colors used by text boxes in freeformview.
Diffstat (limited to 'src/client/views/collections/CollectionStackingViewFieldColumn.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionStackingViewFieldColumn.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx index 8c23ecd49..058733cc9 100644 --- a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx +++ b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx @@ -68,10 +68,10 @@ export class CollectionStackingViewFieldColumn extends React.Component<CSVFieldC const key = StrCast(this.props.parent.props.Document.sectionFilter); const castedValue = this.getValue(this._heading); if (castedValue) { - de.complete.docDragData.droppedDocuments.forEach(d => d[key] = castedValue); + de.complete.docDragData.droppedDocuments.forEach(d => Doc.SetInPlace(d, key, castedValue, false)); } else { - de.complete.docDragData.droppedDocuments.forEach(d => d[key] = undefined); + de.complete.docDragData.droppedDocuments.forEach(d => Doc.SetInPlace(d, key, undefined, false)); } this.props.parent.onInternalDrop(e, de); e.stopPropagation(); |
