aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-01-18 12:10:47 -0500
committerbobzel <zzzman@gmail.com>2022-01-18 12:10:47 -0500
commit66fb0e4bbf88a5e9bcb5869dd7c8b8a7714de024 (patch)
treea73266808167bdfc057cee44bb8d40c31b993edb /src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx
parent4cdfa6c29701d372064eb4dc612807a27cb19857 (diff)
fixed warnings. display last user to edit db. fixed /activity to show only users with a connected socket. fixed toggle "Overlay" button to toggle its background based on overlay state.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx
index c35bb3581..f5a5492e3 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx
@@ -150,8 +150,8 @@ export class CollectionFreeFormLinkView extends React.Component<CollectionFreeFo
}
onClickLine = () => {
- SelectionManager.SelectSchemaViewDoc(this.props.LinkDocs[0], true)
- this.toggleProperties()
+ SelectionManager.SelectSchemaViewDoc(this.props.LinkDocs[0], true);
+ this.toggleProperties();
}
// componentToHex = (c: number) => {
@@ -249,7 +249,7 @@ export class CollectionFreeFormLinkView extends React.Component<CollectionFreeFo
//thickness varies linearly from 3px to 12px for increasing link count
const strokeWidth = linkSize === -1 ? "3px" : Math.floor(2 + 10 * (linkSize / Math.max(...linkRelationshipSizes))) + "px";
- if (this.props.LinkDocs[0].displayArrow == undefined) {
+ if (this.props.LinkDocs[0].displayArrow === undefined) {
this.props.LinkDocs[0].displayArrow = false;
}