From 892cbc539d55f963270c11deb59d4693bc48b985 Mon Sep 17 00:00:00 2001 From: ljungster Date: Thu, 17 Mar 2022 17:08:24 -0400 Subject: trying to resolve issue --- src/client/views/collections/CollectionNoteTakingView.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionNoteTakingView.tsx b/src/client/views/collections/CollectionNoteTakingView.tsx index 39efa5e1f..fbb789894 100644 --- a/src/client/views/collections/CollectionNoteTakingView.tsx +++ b/src/client/views/collections/CollectionNoteTakingView.tsx @@ -124,10 +124,12 @@ export class CollectionNoteTakingView extends CollectionSubView { // need to set the section value + console.log(d._columnIndex) if (!d.hasOwnProperty("_columnIndex")) { d._columnIndex = 0; + } - + const sectionValue = (d[this.columnIndex] ? d[this.columnIndex] : `NO ${this.columnIndex.toUpperCase()} VALUE`) as object; // the next five lines ensures that floating point rounding errors don't create more than one section -syip const parsed = parseInt(sectionValue.toString()); -- cgit v1.2.3-70-g09d2