Commit 47cb6549bf0d2c14eabb4b34e784992d02c54187
Remove duplicate issue-edit rendering
cel committed on 1/19/2017, 4:51:57 AMParent: 1f66b9d5a43300423b755e4664f3b1ec5c349044
Files changed
modules_extra/git.js | changed |
modules_extra/git.js | ||
---|---|---|
@@ -464,13 +464,10 @@ | ||
464 | 464 … | if(c.type === 'git-update') { |
465 | 465 … | return h('p', 'pushed to ', repoLink(c.repo)) |
466 | 466 … | } |
467 | 467 … | |
468 | - if(c.type === 'issue-edit' || (c.type === 'post' && c.text === '')) { | |
469 | - return h('div', [ | |
470 | - c.issue ? renderIssueEdit(c) : null, | |
471 | - c.issues ? c.issues.map(renderIssueEdit) : null | |
472 | - ]) | |
468 … | + if(c.type === 'issue-edit') { | |
469 … | + return | |
473 | 470 … | } |
474 | 471 … | |
475 | 472 … | if(c.type === 'issue') { |
476 | 473 … | return h('p', 'opened issue on ', repoLink(c.project)) |
Built with git-ssb-web