diff options
author | bobzel <zzzman@gmail.com> | 2023-04-27 20:48:27 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-04-27 20:48:27 -0400 |
commit | cc62b9949854f27bc19eb8d4224456094f0dbe13 (patch) | |
tree | 408bea567f5b70e594f64aa8b5147e34851da463 | |
parent | 08d94147eb855bbb3d7eb964ffa6a7a3248001a2 (diff) |
from last
-rw-r--r-- | src/client/views/collections/collectionSchema/SchemaTableCell.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionSchema/SchemaTableCell.tsx b/src/client/views/collections/collectionSchema/SchemaTableCell.tsx index bbf8e2bbf..4f4986b90 100644 --- a/src/client/views/collections/collectionSchema/SchemaTableCell.tsx +++ b/src/client/views/collections/collectionSchema/SchemaTableCell.tsx @@ -93,7 +93,7 @@ export class SchemaTableCell extends React.Component<SchemaTableCellProps> { let protoCount = 0; let doc: Doc | undefined = this.props.Document; while (doc) { - if (Object.keys(doc).includes(this.props.fieldKey)) { + if (Object.keys(doc).includes(this.props.fieldKey.replace(/^_/, ''))) { break; } protoCount++; |