aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/KeyValueBox.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-08-21 16:23:38 -0400
committerbob <bcz@cs.brown.edu>2019-08-21 16:23:38 -0400
commit43d731ef2a6b2bd3fcdb7dd26fb6a8beac8e1306 (patch)
tree8e3895758cead42851f0ead9c3c3dc426be0b87c /src/client/views/nodes/KeyValueBox.tsx
parent3e33c2f1642195e023673cf669c4b5820fe2aeba (diff)
from last with presentations and small tweaks.
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 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) => {