add key path to item string

This commit is contained in:
Michael Xu 2019-09-30 21:13:13 +00:00
parent 974d94f8b5
commit 7d5f885f8a

View File

@ -159,7 +159,8 @@ export default class JSONNestedNode extends React.Component {
nodeType, nodeType,
data, data,
itemType, itemType,
createItemString(data, collectionLimit) createItemString(data, collectionLimit),
...keyPath
); );
const stylingArgs = [keyPath, nodeType, expanded, expandable]; const stylingArgs = [keyPath, nodeType, expanded, expandable];