aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/LightboxView.tsx
diff options
context:
space:
mode:
authorgeireann <60007097+geireann@users.noreply.github.com>2021-04-09 11:53:53 -0400
committergeireann <60007097+geireann@users.noreply.github.com>2021-04-09 11:53:53 -0400
commitfad5449e1b73914e168cf97b363c75dd6a7d15fa (patch)
treec7c29ace32d7cc997e97fa4da0fea96bb309c26e /src/client/views/LightboxView.tsx
parent5d01963d349272e4a2bd38083769b3f1d0a392bc (diff)
parent9604968e525dd44d24fc38eed84ff3a7cc706862 (diff)
Merge branch 'demo_changes' of https://github.com/browngraphicslab/Dash-Web into demo_changes
Diffstat (limited to 'src/client/views/LightboxView.tsx')
-rw-r--r--src/client/views/LightboxView.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/views/LightboxView.tsx b/src/client/views/LightboxView.tsx
index 098c40df4..9444446b1 100644
--- a/src/client/views/LightboxView.tsx
+++ b/src/client/views/LightboxView.tsx
@@ -190,12 +190,8 @@ export class LightboxView extends React.Component<LightboxViewProps> {
const coll = LightboxView._docTarget;
const doc = LightboxView.LightboxDoc;
if (coll && doc) {
- console.log('test');
- console.log('target: ' + coll.title);
- console.log('doc: ' + doc.title);
const fieldKey = Doc.LayoutFieldKey(coll);
- LightboxView.SetLightboxDoc(doc);
- // LightboxView.SetLightboxDoc(coll, undefined, [...DocListCast(coll[fieldKey]), ...DocListCast(coll[fieldKey + "-annotations"])]);
+ LightboxView.SetLightboxDoc(coll, undefined, [...DocListCast(coll[fieldKey]), ...DocListCast(coll[fieldKey + "-annotations"])]);
TabDocView.PinDoc(coll, { hidePresBox: true });
}
}