aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-02-27 22:22:38 -0500
committerBob Zeleznik <zzzman@gmail.com>2020-02-27 22:22:38 -0500
commit02d67790e47d5580b4c2918e0cc88e1db5f11497 (patch)
tree51fbaa63cf3667563ea43b08cab4a079946a4de7 /src
parent44a521a2b333913ee83bd325b84d1dbd03339398 (diff)
from last
Diffstat (limited to 'src')
-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 17011698f..516e583d4 100644
--- a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx
+++ b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx
@@ -160,7 +160,7 @@ export class CollectionStackingViewFieldColumn extends React.Component<CSVFieldC
startDrag = (e: PointerEvent, down: number[], delta: number[]) => {
const alias = Doc.MakeAlias(this.props.parent.props.Document);
- alias._width = this.props.parent.props.PanelWidth() / (Cast(this.props.parent.props.Document.schemaColumns, listSpec(SchemaHeaderField))?.length || 1);
+ alias._width = this.props.parent.props.PanelWidth() / (Cast(this.props.parent.props.Document.sectionHeaders, listSpec(SchemaHeaderField))?.length || 1);
alias.sectionFilter = undefined;
const key = StrCast(this.props.parent.props.Document.sectionFilter);
let value = this.getValue(this._heading);