fix: Documents with empty titles (hey, it can happen) are invisible in the sidebar)
This commit is contained in:
parent
1b5600b025
commit
a281b1e5be
|
@ -96,7 +96,7 @@ class DocumentLink extends React.Component<Props> {
|
|||
state: { title: node.title },
|
||||
}}
|
||||
expanded={showChildren ? true : undefined}
|
||||
label={node.title}
|
||||
label={node.title || 'Untitled'}
|
||||
depth={depth}
|
||||
exact={false}
|
||||
menuOpen={this.menuOpen}
|
||||
|
|
Reference in New Issue