diff options
author | bobzel <zzzman@gmail.com> | 2024-10-18 01:25:39 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-10-18 01:25:39 -0400 |
commit | cc3bdef579624d489fa6760733d6f9c31b8f2357 (patch) | |
tree | 6f24ba051a6e1f7b4b8af47effd67f11627046ee /src/client/views/PinFuncs.ts | |
parent | 0728e918e6d075c0eda738b7d2fdbf6095c714ae (diff) |
fixed tab switching instead of bringing up a lightbox when following link to doc in different tab.
Diffstat (limited to 'src/client/views/PinFuncs.ts')
-rw-r--r-- | src/client/views/PinFuncs.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PinFuncs.ts b/src/client/views/PinFuncs.ts index 5b57cd624..17964c656 100644 --- a/src/client/views/PinFuncs.ts +++ b/src/client/views/PinFuncs.ts @@ -118,7 +118,7 @@ export function PinDocView(pinDocIn: Doc, pinProps: PinProps, targetDoc: Doc) { }) ) ); - if (pinProps.pinData.type_collection) pinDoc.config_viewType = targetDoc._type_collection; + if (pinProps.pinData.type_collection) pinDoc.config_type_collection = targetDoc._type_collection; if (pinProps.pinData.filters) pinDoc.config_docFilters = ObjectField.MakeCopy(targetDoc.childFilters as ObjectField) ?? new List<string>(); if (pinProps.pinData.pivot) pinDoc.config_pivotField = targetDoc._pivotField; if (pinProps.pinData.pannable) { |