aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/newlightbox/components
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-11-30 21:01:57 -0500
committerbobzel <zzzman@gmail.com>2023-11-30 21:01:57 -0500
commit50e770e42bd036d092f3c774921be87045dcd1ef (patch)
tree4854c072d2aa4ea09e64737468c934766046f3bd /src/client/views/newlightbox/components
parentc94bbf5b9f1a37630208d4ba64a93c5399044042 (diff)
final rootDoc refactoring
Diffstat (limited to 'src/client/views/newlightbox/components')
-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) {