0ba597b678
Before I6a5bf05525 actions map was created to enable delete change button on draft changes only: private void initChangeAction(ChangeInfo info) { if (info.status() == Status.DRAFT) { NativeMap<ActionInfo> actions = info.hasActions() ? info.actions() : NativeMap.<ActionInfo> create(); actions.copyKeysIntoChildren("id"); if (actions.containsKey("/")) { deleteChange.setVisible(true); deleteChange.setTitle(actions.get("/").title()); } } } In I6a5bf05525 the logic was extended to non draft changes as well. In I0566f6de6a delete change button was moved out from the change screen class to Actions class. The copying of the actions was left over and became a no-op. Change-Id: I7a68116040cd2ae2ccff855d1fa481d5159d0e8d |
||
---|---|---|
.. | ||
src | ||
BUILD |