aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-10-18 01:29:33 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-10-18 01:29:33 -0400
commitc9a84a7d74efa820d1dc55d8ef93bec40315be4a (patch)
tree0fbb938f0dba79ec26da5300860ea5dcf29ebc2d /src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
parentf0e8502be6488418370d4cd3dbb6c60ffd30f658 (diff)
link lines are working properly except when things get panned/moved ... need to turn off or get updates somehow.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
index a26febda4..e9191c176 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
@@ -68,9 +68,7 @@ export class CollectionFreeFormLinksView extends React.Component {
// });
}
componentWillUnmount() {
- if (this._brushReactionDisposer) {
- this._brushReactionDisposer();
- }
+ this._brushReactionDisposer && this._brushReactionDisposer();
}
@computed
get uniqueConnections() {