aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PinFuncs.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-10-18 01:25:39 -0400
committerbobzel <zzzman@gmail.com>2024-10-18 01:25:39 -0400
commitcc3bdef579624d489fa6760733d6f9c31b8f2357 (patch)
tree6f24ba051a6e1f7b4b8af47effd67f11627046ee /src/client/views/PinFuncs.ts
parent0728e918e6d075c0eda738b7d2fdbf6095c714ae (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.ts2
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) {