Don't show PatchSetWebLink for parent commits
Parent ancestors are no patch sets of the change, hence the PatchSetWebLink should not be displayed for them. Change-Id: I1107fcabc92681831c885ef46779cc95c23c1a33 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -191,12 +191,6 @@ class CommitBox extends Composite {
|
||||
a.setStyleName(style.parentWebLink());
|
||||
panel.add(a);
|
||||
}
|
||||
JsArray<WebLinkInfo> links = c.webLinks();
|
||||
if (links != null) {
|
||||
for (WebLinkInfo link : Natives.asList(links)) {
|
||||
panel.add(link.toAnchor());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private CopyableLabel getCommitLabel(CommitInfo c) {
|
||||
|
Reference in New Issue
Block a user