aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/newlightbox
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/newlightbox')
-rw-r--r--src/client/views/newlightbox/components/Recommendation/Recommendation.tsx2
1 files changed, 1 insertions, 1 deletions
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) {