diff options
author | eperelm2 <emily_perelman@brown.edu> | 2023-06-30 14:47:41 -0400 |
---|---|---|
committer | eperelm2 <emily_perelman@brown.edu> | 2023-06-30 14:47:41 -0400 |
commit | 5b7a0804fa2bd4b956b3617501619737814bd28b (patch) | |
tree | cca2f05466263258115134009734db3ae172cff9 /src/client/views/PropertiesDocContextSelector.tsx | |
parent | 1a8abf3991fccd5ee5d2bd66b28a6d5562e8ef36 (diff) |
contexts work now
Diffstat (limited to 'src/client/views/PropertiesDocContextSelector.tsx')
-rw-r--r-- | src/client/views/PropertiesDocContextSelector.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/PropertiesDocContextSelector.tsx b/src/client/views/PropertiesDocContextSelector.tsx index e1279c9a7..ea3bb434b 100644 --- a/src/client/views/PropertiesDocContextSelector.tsx +++ b/src/client/views/PropertiesDocContextSelector.tsx @@ -19,6 +19,7 @@ type PropertiesDocContextSelectorProps = { @observer export class PropertiesDocContextSelector extends React.Component<PropertiesDocContextSelectorProps> { + @computed get _docs() { if (!this.props.DocView) return []; const target = this.props.DocView.props.Document; @@ -39,6 +40,8 @@ export class PropertiesDocContextSelector extends React.Component<PropertiesDocC }, new Set<Doc>()) .keys() ); + console.log("embeddings " + embeddings.length); + return doclayouts .filter(doc => !Doc.AreProtosEqual(doc, CollectionDockingView.Instance?.props.Document)) .filter(doc => !Doc.IsSystem(doc)) |