aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionNoteTakingView.tsx
diff options
context:
space:
mode:
authorljungster <parkerljung@gmail.com>2022-03-24 16:20:34 -0400
committerljungster <parkerljung@gmail.com>2022-03-24 16:20:34 -0400
commit1f76ef68a2ae58b004db23b90c2bccc5cc2544db (patch)
tree61cbeb4696f0f5c6ba15784ab668b234fc36c2f7 /src/client/views/collections/CollectionNoteTakingView.tsx
parent012f29c76fb21db2b3e7c071993ee05b1c4c32c8 (diff)
fixed no col bug
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingView.tsx')
-rw-r--r--src/client/views/collections/CollectionNoteTakingView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingView.tsx b/src/client/views/collections/CollectionNoteTakingView.tsx
index 14d274cb2..1bf9a8fe4 100644
--- a/src/client/views/collections/CollectionNoteTakingView.tsx
+++ b/src/client/views/collections/CollectionNoteTakingView.tsx
@@ -136,7 +136,7 @@ export class CollectionNoteTakingView extends CollectionSubView<Partial<collecti
let changed = false;
this.filteredChildren.map(d => {
if (!d[this.pivotField]) {
- d[this.pivotField] = `0`
+ d[this.pivotField] = `1`
};
const sectionValue = (d[this.pivotField] ? d[this.pivotField] : `0`) as object;
// the next five lines ensures that floating point rounding errors don't create more than one section -syip