aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/KeyValueBox.tsx
diff options
context:
space:
mode:
authorandrewdkim <adkim414@gmail.com>2019-07-23 17:26:00 -0400
committerandrewdkim <adkim414@gmail.com>2019-07-23 17:26:00 -0400
commit310f83002d715d50a32754fe78d48fc993edebe6 (patch)
treed59ebc84f6c69295ccf66fbb62deaf7721bdc54a /src/client/views/nodes/KeyValueBox.tsx
parentb1aeba02f24215735e338b6245faf840f69ba7b4 (diff)
parent97776a0f1725de5b512b803497af0801141c7f73 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into animationtimeline
Diffstat (limited to 'src/client/views/nodes/KeyValueBox.tsx')
-rw-r--r--src/client/views/nodes/KeyValueBox.tsx2
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;
}
});