diff options
| author | eeng5 <eleanor_eng@brown.edu> | 2019-08-23 14:43:53 -0400 |
|---|---|---|
| committer | eeng5 <eleanor_eng@brown.edu> | 2019-08-23 14:43:53 -0400 |
| commit | 77487a00589f216b6dbdd764f646c599f9b17ae9 (patch) | |
| tree | ead6ea0caa70f5cbf3bedb459f82f30ef51e6f2c /src/client/views/nodes/KeyValueBox.tsx | |
| parent | 601c8d2b0b8197e324f9cbadf525fe03fac5b345 (diff) | |
| parent | b421b50ccc5fd481b40a42945088bb51156fe499 (diff) | |
pulled from master
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 0d4b377dd..653c5c27f 100644 --- a/src/client/views/nodes/KeyValueBox.tsx +++ b/src/client/views/nodes/KeyValueBox.tsx @@ -128,7 +128,7 @@ export class KeyValueBox extends React.Component<FieldViewProps> { let rows: JSX.Element[] = []; let i = 0; const self = this; - for (let key of Object.keys(ids).sort()) { + for (let key of Object.keys(ids).slice().sort()) { rows.push(<KeyValuePair doc={realDoc} ref={(function () { let oldEl: KeyValuePair | undefined; return (el: KeyValuePair) => { |
