aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeireann <60007097+geireann@users.noreply.github.com>2021-04-07 11:46:35 -0400
committerGeireann <60007097+geireann@users.noreply.github.com>2021-04-07 11:46:35 -0400
commit210dd143113b9813fc681ff50efd755658526ce9 (patch)
tree86380f530acd6a6bd530c9f838de2cfa5f8fd748 /src
parenta14e2da6130ac3c0c55b03cbc8a5fa3723be45bc (diff)
Update LightboxView.tsx
Diffstat (limited to 'src')
-rw-r--r--src/client/views/LightboxView.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/LightboxView.tsx b/src/client/views/LightboxView.tsx
index e33b3b35e..2fd9cb854 100644
--- a/src/client/views/LightboxView.tsx
+++ b/src/client/views/LightboxView.tsx
@@ -189,8 +189,10 @@ export class LightboxView extends React.Component<LightboxViewProps> {
} else {
const coll = LightboxView._docTarget;
if (coll) {
+ console.log('test');
const fieldKey = Doc.LayoutFieldKey(coll);
- LightboxView.SetLightboxDoc(coll, undefined, [...DocListCast(coll[fieldKey]), ...DocListCast(coll[fieldKey + "-annotations"])]);
+ LightboxView.SetLightboxDoc(coll, undefined);
+ // LightboxView.SetLightboxDoc(coll, undefined, [...DocListCast(coll[fieldKey]), ...DocListCast(coll[fieldKey + "-annotations"])]);
TabDocView.PinDoc(coll, { hidePresBox: true });
}
}