Add configuration options

This commit is contained in:
John Furrow
2016-02-11 18:26:00 -08:00
parent 0fd6fd7d11
commit 366cb1b428
8 changed files with 24 additions and 16 deletions

View File

@@ -26,12 +26,12 @@ export default class DirectoryTree extends React.Component {
if (branchName === 'files') {
return (
<DirectoryFileList branch={branch} hash={hash}
key={`${index}${depth}`} />
key={`${index}${depth}${branchName}`} />
);
} else {
return (
<DirectoryTreeNode depth={depth} directoryName={branchName}
hash={hash} subTree={branch} key={`${index}${depth}`} />
hash={hash} subTree={branch} key={`${index}${depth}${branchName}`} />
);
}
});