From 5bc484017b1798a79ebc44da321d9c3ac2b924cc Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 13 Sep 2023 18:15:08 -0400 Subject: column headers are always on the dataDoc now (change stacking) --- src/client/views/collections/CollectionStackingView.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index 8c40567d3..36f8bc101 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -68,7 +68,7 @@ export class CollectionStackingView extends CollectionSubView(); + this.dataDoc['_' + this.fieldKey + '_columnHeaders'] = new List(); } } @@ -159,7 +159,7 @@ export class CollectionStackingView extends CollectionSubView(); if (this.colHeaderData === undefined) { - setTimeout(() => (this.layoutDoc['_' + this.fieldKey + '_columnHeaders'] = new List()), 0); + setTimeout(() => (this.dataDoc['_' + this.fieldKey + '_columnHeaders'] = new List()), 0); return new Map(); } const colHeaderData = Array.from(this.colHeaderData); @@ -208,7 +208,7 @@ export class CollectionStackingView extends CollectionSubView this.pivotField, - () => (this.layoutDoc['_' + this.fieldKey + '_columnHeaders'] = new List()) + () => (this.dataDoc['_' + this.fieldKey + '_columnHeaders'] = new List()) ); this._layout_autoHeightDisposer = reaction( () => this.layoutDoc._layout_autoHeight, -- cgit v1.2.3-70-g09d2