aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorljungster <parkerljung@gmail.com>2022-03-17 17:08:24 -0400
committerljungster <parkerljung@gmail.com>2022-03-17 17:08:24 -0400
commit892cbc539d55f963270c11deb59d4693bc48b985 (patch)
tree90b3135c9d7d98ae0330e2f6a9a1e6a48edf7c69 /src
parent87ecbf85db2e1d51c0bab92154500548942fac22 (diff)
trying to resolve issue
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionNoteTakingView.tsx4
1 files changed, 3 insertions, 1 deletions
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<StackingDocument
let changed = false;
this.filteredChildren.map(d => {
// 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());