aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/views/collections/CollectionNoteTakingView.tsx10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingView.tsx b/src/client/views/collections/CollectionNoteTakingView.tsx
index 50390957a..1e3a27d24 100644
--- a/src/client/views/collections/CollectionNoteTakingView.tsx
+++ b/src/client/views/collections/CollectionNoteTakingView.tsx
@@ -82,15 +82,9 @@ export class CollectionNoteTakingView extends CollectionSubView<Partial<collecti
super(props);
if (this.columnHeaders === undefined) {
- // TODO: what is a layout doc? Is it literally how this document is supposed to be layed out?
- // here we're making an empty list of column headers (again, what Mehek showed us)
- this.layoutDoc._columnHeaders = new List<SchemaHeaderField>();
- // this.state = {
- // columnStartXCoords: [0]
- // }
- this.columnStartXCoords = [0]
+ this.layoutDoc._columnHeaders = new List<SchemaHeaderField>([new SchemaHeaderField('New Column')]);
+ this.columnStartXCoords = [0]
} else {
- //TODO instantiate columnStartXCoords and dividerXCoords
const numHeaders = this.columnHeaders.length
this.resizeColumns(numHeaders)
}