Merge changes I5abaa282,Ifa7701d0,If7ff2115
* changes: ChangeScreen2: Support draft changes and draft patch sets Allow to delete non current draft patch sets Expose UiActions also for non current draft patch sets
This commit is contained in:
@@ -822,7 +822,8 @@ public class ChangeJson {
|
||||
}
|
||||
}
|
||||
|
||||
if (out.isCurrent && has(CURRENT_ACTIONS)
|
||||
if ((out.isCurrent || out.draft)
|
||||
&& has(CURRENT_ACTIONS)
|
||||
&& userProvider.get().isIdentifiedUser()) {
|
||||
out.actions = Maps.newTreeMap();
|
||||
for (UiAction.Description d : UiActions.from(
|
||||
|
||||
Reference in New Issue
Block a user