mirror of
https://github.com/zoriya/flood.git
synced 2025-12-20 14:15:15 +00:00
Add configuration options
This commit is contained in:
@@ -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}`} />
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user