aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PropertiesDocContextSelector.tsx
diff options
context:
space:
mode:
authoreperelm2 <90427875+eperelm2@users.noreply.github.com>2023-07-18 12:39:36 -0400
committerGitHub <noreply@github.com>2023-07-18 12:39:36 -0400
commitf8d6a1433716de4b2a04a41e5c7b63e1d498bb9c (patch)
tree77979c060c7a460dc4ad82758a5cc39eab9d53c1 /src/client/views/PropertiesDocContextSelector.tsx
parent68c122134ec62e753140f5b0314cc5d430484803 (diff)
parentc4fcc7fc89412fe294a3bc0a001fdd9433609f8b (diff)
Merge pull request #186 from brown-dash/secondpropertiesmenu-emily
Secondpropertiesmenu emily
Diffstat (limited to 'src/client/views/PropertiesDocContextSelector.tsx')
-rw-r--r--src/client/views/PropertiesDocContextSelector.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/PropertiesDocContextSelector.tsx b/src/client/views/PropertiesDocContextSelector.tsx
index 6cac7b0fe..6a54f0002 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))