aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MetadataEntryMenu.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/MetadataEntryMenu.tsx
parent3e33c2f1642195e023673cf669c4b5820fe2aeba (diff)
from last with presentations and small tweaks.
Diffstat (limited to 'src/client/views/MetadataEntryMenu.tsx')
-rw-r--r--src/client/views/MetadataEntryMenu.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/MetadataEntryMenu.tsx b/src/client/views/MetadataEntryMenu.tsx
index 4d696e37a..ec628c5a3 100644
--- a/src/client/views/MetadataEntryMenu.tsx
+++ b/src/client/views/MetadataEntryMenu.tsx
@@ -172,7 +172,7 @@ export class MetadataEntryMenu extends React.Component<MetadataEntryProps>{
</div>
<div className="metadataEntry-keys" >
<ul>
- {this._allSuggestions.sort().map(s => <li key={s} onClick={action(() => { this._currentKey = s; this.previewValue(); })} >{s}</li>)}
+ {this._allSuggestions.slice().sort().map(s => <li key={s} onClick={action(() => { this._currentKey = s; this.previewValue(); })} >{s}</li>)}
</ul>
</div>
</div>