renamed Items to Keys for clarity

This commit is contained in:
Daniele Zannotti 2015-08-10 19:09:37 +01:00
parent dbbe482e8d
commit 2c1643b0c6

View File

@ -78,7 +78,7 @@ export default class JSONObjectNode extends React.Component {
getItemString() {
if (!this.itemString) {
const len = Object.keys(this.props.data).length;
this.itemString = len + ' Item' + (len > 1 ? 's' : '');
this.itemString = len + ' Key' + (len > 1 ? 's' : '');
}
return this.itemString;
}