diff options
author | bobzel <zzzman@gmail.com> | 2023-02-23 10:15:39 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-02-23 10:15:39 -0500 |
commit | dae946507efa91a7216e64a22f8a25b411a16c59 (patch) | |
tree | 94c12bbd0439cdd246fb30390de178c440e4eabe /src/client/views/PropertiesView.tsx | |
parent | 70c34720d2d3ecbbcbf44a7cb6504ee132f4d12a (diff) |
fixed display of link lines
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
-rw-r--r-- | src/client/views/PropertiesView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index 355038556..f7708d801 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -307,7 +307,7 @@ export class PropertiesView extends React.Component<PropertiesViewProps> { @computed get links() { const selAnchor = this.selectedDocumentView?.anchorViewDoc ?? LinkManager.currentLinkAnchor ?? this.selectedDoc; - return <PropertiesDocBacklinksSelector Document={selAnchor} hideTitle={true} addDocTab={this.props.addDocTab} />; + return !selAnchor ? null : <PropertiesDocBacklinksSelector Document={selAnchor} hideTitle={true} addDocTab={this.props.addDocTab} />; } @computed get layoutPreview() { |