aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/SidebarAnnos.tsx
diff options
context:
space:
mode:
authorvkalev <vjk1883@gmail.com>2021-07-31 15:37:52 -0400
committervkalev <vjk1883@gmail.com>2021-07-31 15:37:52 -0400
commit193b90b9ade89b2060c701009ba6e57daf0c8c53 (patch)
treec8d05d1161cf5bf9869af6a0d6cd464d52303f4c /src/client/views/SidebarAnnos.tsx
parent09e5f2c58ca87ded318627cbc5dea436989fcff2 (diff)
parent970ea305fde86c6d33fc08c8880ef258b7b318bc (diff)
Merge branch 'master' into ink-gfx-victor
Diffstat (limited to 'src/client/views/SidebarAnnos.tsx')
-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 9c5a54574..c5ae82c61 100644
--- a/src/client/views/SidebarAnnos.tsx
+++ b/src/client/views/SidebarAnnos.tsx
@@ -79,7 +79,7 @@ export class SidebarAnnos extends React.Component<FieldViewProps & ExtraProps> {
sidebarStyleProvider = (doc: Opt<Doc>, props: Opt<FieldViewProps | DocumentViewProps>, property: string) => {
if (property === StyleProp.ShowTitle) {
- return doc === this.props.rootDoc ? 0 : StrCast(this.props.layoutDoc["sidebar-childShowTitle"], "title");
+ return doc === this.props.rootDoc ? undefined : StrCast(this.props.layoutDoc["sidebar-childShowTitle"], "title");
}
return this.props.styleProvider?.(doc, props, property);
}