aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionLinear/CollectionLinearView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-09-29 20:44:33 -0400
committerbobzel <zzzman@gmail.com>2022-09-29 20:44:33 -0400
commit2de2e154912d95a15e5f890c9d1a3a7a11610107 (patch)
treeddc5fad406050b3629f588a3a09e88d3214f13bb /src/client/views/collections/collectionLinear/CollectionLinearView.tsx
parent4580a4193edb451f628eee8be2d3c31d06b1a3a7 (diff)
a bunch of changes to trails: link to trail to initiate trail when following link. cleanly separate pin layout data vs. content data.
Diffstat (limited to 'src/client/views/collections/collectionLinear/CollectionLinearView.tsx')
-rw-r--r--src/client/views/collections/collectionLinear/CollectionLinearView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionLinear/CollectionLinearView.tsx b/src/client/views/collections/collectionLinear/CollectionLinearView.tsx
index f6eb2fce4..92f6bbb64 100644
--- a/src/client/views/collections/collectionLinear/CollectionLinearView.tsx
+++ b/src/client/views/collections/collectionLinear/CollectionLinearView.tsx
@@ -208,7 +208,7 @@ export class CollectionLinearView extends CollectionSubView() {
checked={BoolCast(this.props.Document.linearViewIsExpanded)}
ref={this.addMenuToggle}
onChange={action(e => {
- ScriptCast(this.Document.onClick).script.run({
+ ScriptCast(this.Document.onClick)?.script.run({
this: this.layoutDoc,
self: this.rootDoc,
_readOnly_: false,