diff options
| author | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-02-25 15:36:49 -0500 |
|---|---|---|
| committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-02-25 15:36:49 -0500 |
| commit | 95451a2eb0871856b946fff8a14ca0c385af5f1b (patch) | |
| tree | 90c18c68c4e077d63dd3286d527b243ac6cdc501 /src/client/views/nodes/KeyValuePair.tsx | |
| parent | 02bceed486ecb03b94c757ae669f69912f282cdd (diff) | |
| parent | 17ee7f6f1f61a079ec79b71aebc65abfd72ec32a (diff) | |
merging
Diffstat (limited to 'src/client/views/nodes/KeyValuePair.tsx')
| -rw-r--r-- | src/client/views/nodes/KeyValuePair.tsx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/client/views/nodes/KeyValuePair.tsx b/src/client/views/nodes/KeyValuePair.tsx index ce9d8bed5..ebb953dad 100644 --- a/src/client/views/nodes/KeyValuePair.tsx +++ b/src/client/views/nodes/KeyValuePair.tsx @@ -125,12 +125,9 @@ export class KeyValuePair extends React.Component<KeyValuePairProps> { contents={contents} maxHeight={36} height={"auto"} - GetValue={() => { - return Field.toKeyValueString(props.Document, props.fieldKey); - }} + GetValue={() => Field.toKeyValueString(props.Document, props.fieldKey)} SetValue={(value: string) => - KeyValueBox.SetField(props.Document, props.fieldKey, value)}> - </EditableView> + KeyValueBox.SetField(props.Document, props.fieldKey, value)} /> </div> </td> </tr> |
