aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/KeyValueBox.tsx
diff options
context:
space:
mode:
authorMonika <monika_hedman@brown.edu>2019-06-21 11:37:28 -0400
committerMonika <monika_hedman@brown.edu>2019-06-21 11:37:28 -0400
commit7eb3e346c6fddc23794f3dd0c33e280c4ee7bc24 (patch)
treed6e9ecd9d02aabd5324586c027ec769b750e0b6e /src/client/views/nodes/KeyValueBox.tsx
parent4b8a6b7a76ccadfd39ec037e282018c7d588dea8 (diff)
parent179afa6e80631fcb8899408c3961bf1757e5b19b (diff)
pulled from master
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 917be734d..3d626eef0 100644
--- a/src/client/views/nodes/KeyValueBox.tsx
+++ b/src/client/views/nodes/KeyValueBox.tsx
@@ -54,7 +54,7 @@ export class KeyValueBox extends React.Component<FieldViewProps> {
field = res.result;
}
if (Field.IsField(field, true)) {
- let target = !eq ? doc : Doc.GetProto(doc);
+ let target = eq ? doc : Doc.GetProto(doc);
target[key] = field;
return true;
}