diff options
| author | bobzel <zzzman@gmail.com> | 2023-12-05 14:13:02 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-12-05 14:13:02 -0500 |
| commit | 3f412f469925f444714fd20a9bd76f4c36029d34 (patch) | |
| tree | 4c0259357586cf88e56d5d3c20177aa6ed4b71db /src/client/views/newlightbox | |
| parent | 304f7e25fb2a533876a59bca7215126d02d94dbf (diff) | |
| parent | 23f789ab0bc9947f1bd23816183df2b5cc89b0e6 (diff) | |
merged with master
Diffstat (limited to 'src/client/views/newlightbox')
| -rw-r--r-- | src/client/views/newlightbox/NewLightboxView.tsx | 2 | ||||
| -rw-r--r-- | src/client/views/newlightbox/components/Recommendation/Recommendation.tsx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/newlightbox/NewLightboxView.tsx b/src/client/views/newlightbox/NewLightboxView.tsx index bde93c761..f3cde3f5a 100644 --- a/src/client/views/newlightbox/NewLightboxView.tsx +++ b/src/client/views/newlightbox/NewLightboxView.tsx @@ -293,7 +293,6 @@ export class NewLightboxView extends React.Component<LightboxViewProps> { <DocumentView ref={action((r: DocumentView | null) => (NewLightboxView._docView = r !== null ? r : undefined))} Document={LightboxView.LightboxDoc} - DataDoc={undefined} PanelWidth={this.newLightboxWidth} PanelHeight={this.newLightboxHeight} LayoutTemplate={NewLightboxView.LightboxDocTemplate} @@ -302,7 +301,6 @@ export class NewLightboxView extends React.Component<LightboxViewProps> { styleProvider={DefaultStyleProvider} ScreenToLocalTransform={this.newLightboxScreenToLocal} renderDepth={0} - rootSelected={returnFalse} docViewPath={returnEmptyDoclist} childFilters={this.docFilters} childFiltersByRanges={returnEmptyFilter} diff --git a/src/client/views/newlightbox/components/Recommendation/Recommendation.tsx b/src/client/views/newlightbox/components/Recommendation/Recommendation.tsx index 96846673b..a085e4a66 100644 --- a/src/client/views/newlightbox/components/Recommendation/Recommendation.tsx +++ b/src/client/views/newlightbox/components/Recommendation/Recommendation.tsx @@ -19,7 +19,7 @@ export const Recommendation = (props: IRecommendation) => { if (source == 'Dash' && docId) { const docView = DocumentManager.Instance.getDocumentViewsById(docId).lastElement(); if (docView) { - doc = docView.rootDoc; + doc = docView.Document; } } else if (data) { switch (type) { |
