diff options
| author | bobzel <zzzman@gmail.com> | 2022-07-20 09:12:11 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-07-20 09:12:11 -0400 |
| commit | 724c1c1228aa601fdbbed93dde68a5a9fa9c5ae9 (patch) | |
| tree | 1f5f4629b4b990c619ee4e76b3997f7706aefd8f /src/client/views/collections/CollectionView.tsx | |
| parent | a0b032c49e792e1bcaa69a584cacacb7e950bef1 (diff) | |
added a 'guest' login mode. added ability for mainView to be any doc, not just a docking collection.
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index 2ab5f6247..f0cb23eab 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -225,7 +225,7 @@ export class CollectionView extends ViewBoxAnnotatableComponent<ViewBoxAnnotatab }, }) ); - DocListCast(Cast(Doc.UserDoc()['clickFuncs-child'], Doc, null).data).forEach(childClick => + DocListCast(Cast(Doc.UserDoc()['clickFuncs-child'], Doc, null)?.data).forEach(childClick => onClicks.push({ description: `Set child ${childClick.title}`, icon: 'edit', |
