aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/LightboxView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-30 09:37:56 -0400
committerbobzel <zzzman@gmail.com>2021-03-30 09:37:56 -0400
commit6c689a999e22fc414386e39007ca0929057ff1d8 (patch)
treed84b2f85c45895385d6d7a23d3c3ab5bcc903191 /src/client/views/LightboxView.tsx
parent3aa6f1676a3fd366aade7c468ad495ade1314577 (diff)
fixed a bunch of compile errors. activated Clear button for recently closed tree views.
Diffstat (limited to 'src/client/views/LightboxView.tsx')
-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 8e38d4744..e33b3b35e 100644
--- a/src/client/views/LightboxView.tsx
+++ b/src/client/views/LightboxView.tsx
@@ -5,7 +5,7 @@ import "normalize.css";
import * as React from 'react';
import { Doc, DocListCast, Opt } from '../../fields/Doc';
import { Cast, NumCast, StrCast } from '../../fields/Types';
-import { emptyFunction, returnEmptyDoclist, returnEmptyFilter, returnTrue } from '../../Utils';
+import { emptyFunction, returnEmptyDoclist, returnEmptyFilter, returnTrue, returnFalse } from '../../Utils';
import { DocUtils } from '../documents/Documents';
import { DocumentManager } from '../util/DocumentManager';
import { LinkManager } from '../util/LinkManager';
@@ -231,6 +231,8 @@ export class LightboxView extends React.Component<LightboxViewProps> {
DataDoc={undefined}
addDocument={undefined}
fitContentsToDoc={this.fitToBox}
+ isDocumentActive={returnFalse}
+ isContentActive={returnTrue}
addDocTab={this.addDocTab}
pinToPres={TabDocView.PinDoc}
rootSelected={returnTrue}