aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PropertiesView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-12-08 10:08:33 -0500
committerbobzel <zzzman@gmail.com>2022-12-08 10:08:33 -0500
commit52a435b09013619209b8bcc6758baeca47d5d350 (patch)
tree0b8f24da5b18a5f5436c18b952c02fa2e03a91be /src/client/views/PropertiesView.tsx
parent4d10925f535f3d2c09ab4fa01de83897cc13fc43 (diff)
cleaned up animation effects to not reference presBox. fixed anchors in text to have link properties set properly from properties view.
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
-rw-r--r--src/client/views/PropertiesView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx
index 905f9e2d0..e43b160b8 100644
--- a/src/client/views/PropertiesView.tsx
+++ b/src/client/views/PropertiesView.tsx
@@ -306,7 +306,7 @@ export class PropertiesView extends React.Component<PropertiesViewProps> {
}
@computed get links() {
- const selAnchor = this.selectedDocumentView?.anchorViewDoc;
+ const selAnchor = this.selectedDocumentView?.anchorViewDoc ?? LinkManager.currentLinkAnchor;
return !selAnchor ? null : <PropertiesDocBacklinksSelector Document={selAnchor} hideTitle={true} addDocTab={this.props.addDocTab} />;
}