git4refactor
filip mertens 8 months ago
parent 891f10aab8
commit d791ff0296
  1. 2
      .gitignore
  2. 6
      libs/remix-ui/git/src/components/panels/branches/branchedetails.tsx

2
.gitignore vendored

@ -64,3 +64,5 @@ apps/remixdesktop/release/
apps/remix-ide/src/assets/list.json apps/remix-ide/src/assets/list.json
apps/remix-ide/src/assets/esbuild.wasm apps/remix-ide/src/assets/esbuild.wasm
apps/remixdesktop/build* apps/remixdesktop/build*
apps/remixdesktop/reports/
apps/remixdesktop/logs/

@ -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>)
})
}) })
} }
})} })}

Loading…
Cancel
Save