diff options
| author | bobzel <zzzman@gmail.com> | 2023-11-30 21:01:57 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-11-30 21:01:57 -0500 |
| commit | 50e770e42bd036d092f3c774921be87045dcd1ef (patch) | |
| tree | 4854c072d2aa4ea09e64737468c934766046f3bd /src/client/views/newlightbox/components | |
| parent | c94bbf5b9f1a37630208d4ba64a93c5399044042 (diff) | |
final rootDoc refactoring
Diffstat (limited to 'src/client/views/newlightbox/components')
| -rw-r--r-- | src/client/views/newlightbox/components/Recommendation/Recommendation.tsx | 2 |
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) { |
