diff options
| author | srichman333 <sarah_n_richman@brown.edu> | 2023-07-31 11:24:50 -0400 | 
|---|---|---|
| committer | srichman333 <sarah_n_richman@brown.edu> | 2023-07-31 11:24:50 -0400 | 
| commit | 71c3072bb253682ed16861de24bcb141ccf7f79e (patch) | |
| tree | a9ae65c5ebce119dd3f85dfea6ce50b75d44ca71 /src/client/views/DocComponent.tsx | |
| parent | b236882faef4e5434158e7a8dfb82daa47031ca5 (diff) | |
| parent | 08f125f5880247280c02633feeb31a8df1912b97 (diff) | |
Merge branch 'master' into data-visualization-sarah
Diffstat (limited to 'src/client/views/DocComponent.tsx')
| -rw-r--r-- | src/client/views/DocComponent.tsx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index a41fc8ded..8fe5c2e01 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -145,7 +145,7 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps>()              const toRemove = value.filter(v => docs.includes(v));              if (toRemove.length !== 0) { -                const recent = Doc.MyRecentlyClosed; +                const recent = this.rootDoc !== Doc.MyRecentlyClosed ? Doc.MyRecentlyClosed : undefined;                  toRemove.forEach(doc => {                      leavePushpin && DocUtils.LeavePushpin(doc, annotationKey ?? this.annotationKey);                      Doc.RemoveDocFromList(targetDataDoc, annotationKey ?? this.annotationKey, doc); | 
