|
|
@ -51,8 +51,10 @@ export const BranchDetails = (props: BrancheDetailsProps) => { |
|
|
|
<div className="ml-1"> |
|
|
|
<div className="ml-1"> |
|
|
|
{context.branchCommits && Object.entries(context.branchCommits).map(([key, value]) => { |
|
|
|
{context.branchCommits && Object.entries(context.branchCommits).map(([key, value]) => { |
|
|
|
if(key == branch.name){ |
|
|
|
if(key == branch.name){ |
|
|
|
return value.map((commit, index) => { |
|
|
|
return value.map((page, index) => { |
|
|
|
return(<CommitDetails key={index} checkout={checkoutCommit} commit={commit}></CommitDetails>) |
|
|
|
return page.commits.map((commit, index) => { |
|
|
|
|
|
|
|
return(<CommitDetails key={index} checkout={checkoutCommit} commit={commit}></CommitDetails>) |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
})} |
|
|
|
})} |
|
|
|