diff --git a/client/src/components/Commits.js b/client/src/components/Commits.js index 9d49762..6d25858 100644 --- a/client/src/components/Commits.js +++ b/client/src/components/Commits.js @@ -12,6 +12,12 @@ class Commits extends React.Component { this.props.loadCommits(); } renderCommits = commit => { + let filteredBs = this.props.buildData.buildSets + .map(obj => { + return obj; + }) + .find(item => item.sourcestamps[0].revision === commit.sha); + // console.log('bsid:' + filteredBs.bsid + ' sha:' + filteredBs.sourcestamps[0].revision + 'commit:'+commit.sha); return (