diff options
author | bobzel <zzzman@gmail.com> | 2021-04-21 09:49:01 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-04-21 09:49:01 -0400 |
commit | 3c6fd425c1273f87dc2142038a9ddc48d6159b1b (patch) | |
tree | 67c4a7a0f9b730f36ce08bcbc0c7695c82439576 /src/client/util/SelectionManager.ts | |
parent | eb7a6f091419318bd85e75787067ef5f036e2659 (diff) | |
parent | 45a43e9f0417d6929a6f351fea0cf97fe11b0ef0 (diff) |
Fixed errors merging with master
Diffstat (limited to 'src/client/util/SelectionManager.ts')
-rw-r--r-- | src/client/util/SelectionManager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/SelectionManager.ts b/src/client/util/SelectionManager.ts index c52127edd..ca5ef75d2 100644 --- a/src/client/util/SelectionManager.ts +++ b/src/client/util/SelectionManager.ts @@ -66,7 +66,7 @@ export namespace SelectionManager { manager.SelectSchemaView(colSchema, document); } - const IsSelectedCache = computedFn(function isSelected(doc: DocumentView) { // wraapping get() in a computedFn only generates mobx() invalidations when the return value of the function for the specific get parameters has changed + const IsSelectedCache = computedFn(function isSelected(doc: DocumentView) { // wrapping get() in a computedFn only generates mobx() invalidations when the return value of the function for the specific get parameters has changed return manager.SelectedViews.get(doc) ? true : false; }); // computed functions, such as used in IsSelected generate errors if they're called outside of a |