aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PropertiesDocContextSelector.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/PropertiesDocContextSelector.tsx')
-rw-r--r--src/client/views/PropertiesDocContextSelector.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PropertiesDocContextSelector.tsx b/src/client/views/PropertiesDocContextSelector.tsx
index 12a09196e..e1279c9a7 100644
--- a/src/client/views/PropertiesDocContextSelector.tsx
+++ b/src/client/views/PropertiesDocContextSelector.tsx
@@ -48,7 +48,7 @@ export class PropertiesDocContextSelector extends React.Component<PropertiesDocC
getOnClick = (col: Doc, target: Doc) => {
if (!this.props.DocView) return;
- col = Doc.IsDocDataProto(col) ? Doc.MakeDelegate(col) : col;
+ col = Doc.IsDataProto(col) ? Doc.MakeDelegate(col) : col;
DocFocusOrOpen(Doc.GetProto(this.props.DocView.props.Document), undefined, col);
};