Restore delete right checkboxes in wild card project
I accidentally removed these in 5aa47fee31 when I tried to hide
them in normal projects.
Change-Id: I4a9983a7e1ad91d7286526f090c031793e5affc2
Signed-off-by: Shawn O. Pearce <sop@google.com>
Reviewed-by: Nico Sallembien <nsallembien@google.com>
This commit is contained in:
@@ -408,7 +408,8 @@ public class ProjectRightsPanel extends Composite {
|
||||
config.getApprovalTypes().getApprovalType(r.getApprovalCategoryId());
|
||||
final AccountGroup group = groups.get(r.getAccountGroupId());
|
||||
|
||||
if (Gerrit.getConfig().getWildProject().equals(r.getProjectNameKey())) {
|
||||
if (!projectName.equals(Gerrit.getConfig().getWildProject())
|
||||
&& Gerrit.getConfig().getWildProject().equals(r.getProjectNameKey())) {
|
||||
table.setText(row, 1, "");
|
||||
} else {
|
||||
table.setWidget(row, 1, new CheckBox());
|
||||
|
||||
Reference in New Issue
Block a user