File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -952,7 +952,7 @@ ${userReason}`;
952
952
li = `<li><i>(${ project } )</i> - ${ prAction } (#${ number } ) - <a href='${ html_url } '>${ title } </a> ${ pr_draft_button } </li>` ;
953
953
} else if ( item . state === 'open' ) {
954
954
li = `<li><i>(${ project } )</i> - ${ prAction } (#${ number } ) - <a href='${ html_url } '>${ title } </a> ${ pr_open_button } ` ;
955
- if ( showCommits && item . _allCommits && item . _allCommits . length ) {
955
+ if ( showCommits && item . _allCommits && item . _allCommits . length && ! isNewPR ) {
956
956
item . _allCommits . forEach ( commit => {
957
957
li += `<li style="list-style: disc; margin: 0 0 0 20px; padding: 0; color: #666;"><span style="color:#2563eb;">${ commit . messageHeadline } </span><span style="color:#666; font-size: 11px;"> (${ new Date ( commit . committedDate ) . toLocaleString ( ) } )</span></li>` ;
958
958
} ) ;
You can’t perform that action at this time.
0 commit comments