aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/KeyValueBox.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-06-20 14:54:55 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-06-20 14:54:55 -0400
commit1f24c5010a1cf6365265ea1f02327bb81a98134a (patch)
tree8f9cb5311c75931f100dfde90c0534eb7ddc69f5 /src/client/views/nodes/KeyValueBox.tsx
parent8dbfb3029a99eaf37a5234e9d9e33cc64f779b03 (diff)
Doc.GetProto change and swapped KVP syntax
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;
}