Submit: Fix wrong conflict resolution
This amends commit016642aa60. The merge effectively reverted part of4c58e1031f. Change-Id: Icd441ce2a8f0fcd866d1b0e51e9d448581d51563
This commit is contained in:
@@ -293,7 +293,7 @@ public class Submit
|
||||
@Override
|
||||
public UiAction.Description getDescription(RevisionResource resource) {
|
||||
Change change = resource.getChange();
|
||||
if (!change.getStatus().isOpen() || !resource.isCurrent()) {
|
||||
if (!change.isNew() || !resource.isCurrent()) {
|
||||
return null; // submit not visible
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user