diff options
author | bobzel <zzzman@gmail.com> | 2022-08-24 18:30:41 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-08-24 18:30:41 -0400 |
commit | 4658ad7e110ce8a68cc3ecf3693725270b8ca7a4 (patch) | |
tree | bc0a6ac81963c36515b1a5de8f3faac09e61ceb0 /src | |
parent | cc1f967b88816f99b131e8d965bc13e16cd26acf (diff) |
fixed exception in notetakingview
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionNoteTakingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingView.tsx b/src/client/views/collections/CollectionNoteTakingView.tsx index 81ca4dd98..b359ef420 100644 --- a/src/client/views/collections/CollectionNoteTakingView.tsx +++ b/src/client/views/collections/CollectionNoteTakingView.tsx @@ -60,7 +60,7 @@ export class CollectionNoteTakingView extends CollectionSubView<Partial<collecti const columnHeaders = Cast(this.dataDoc.columnHeaders, listSpec(SchemaHeaderField), null); const needsUnsetCategory = this.childDocs.some(d => !d[this.notetakingCategoryField] && !columnHeaders.find(sh => sh.heading === 'unset')); if (needsUnsetCategory) { - columnHeaders.push(new SchemaHeaderField('unset', undefined, undefined, 1)); + setTimeout(() => columnHeaders.push(new SchemaHeaderField('unset', undefined, undefined, 1))); } return columnHeaders; } |