aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-09-17 17:51:46 -0400
committerbobzel <zzzman@gmail.com>2021-09-17 17:51:46 -0400
commit385c635159bfa9bff86ddd6e46c96b934d2a9391 (patch)
tree302c833f762a68e573e38b8d33383206c967339d /src/client
parentb4a3dd6551a0ad6582c2a1a42168faae74ef1913 (diff)
fixed following links to documents in sidebars that haven't been opened to still open the sidebar and show the document. required a change to how ProxyFields set field promises and use field caches.
Diffstat (limited to 'src/client')
-rw-r--r--src/client/views/SidebarAnnos.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/SidebarAnnos.tsx b/src/client/views/SidebarAnnos.tsx
index 659eb86d1..6a5b0a3ae 100644
--- a/src/client/views/SidebarAnnos.tsx
+++ b/src/client/views/SidebarAnnos.tsx
@@ -68,8 +68,8 @@ export class SidebarAnnos extends React.Component<FieldViewProps & ExtraProps> {
if (DocListCast(this.props.rootDoc[this.sidebarKey]).includes(doc)) {
if (this.props.layoutDoc[this.filtersKey]) {
this.props.layoutDoc[this.filtersKey] = new List<string>();
- return true;
}
+ return true;
}
return false;
}