diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-07-23 03:13:08 -0400 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-07-23 03:13:08 -0400 |
commit | 767901272eeea30137330e710cc8cf70fd34f1de (patch) | |
tree | 88911c9dc2370038fdd5c0c15cf83629565f77c2 /src/client/views/nodes/KeyValueBox.tsx | |
parent | 010c7978ce19392b4f02bdea29e734ac2abac01f (diff) |
autotag based on confidence, allow concealment of computed fields that resolve to undefined with namespace constant ComputedField.undefined
Diffstat (limited to 'src/client/views/nodes/KeyValueBox.tsx')
-rw-r--r-- | src/client/views/nodes/KeyValueBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/KeyValueBox.tsx b/src/client/views/nodes/KeyValueBox.tsx index c9dd9a64e..9fc0f2080 100644 --- a/src/client/views/nodes/KeyValueBox.tsx +++ b/src/client/views/nodes/KeyValueBox.tsx @@ -114,7 +114,7 @@ export class KeyValueBox extends React.Component<FieldViewProps> { let protos = Doc.GetAllPrototypes(doc); for (const proto of protos) { Object.keys(proto).forEach(key => { - if (!(key in ids)) { + if (!(key in ids) && realDoc[key] !== ComputedField.undefined) { ids[key] = key; } }); |