Add a temporary hack to change the label of the 'ready' action
Otherwise we would have to wait until change 269573 is live. But we want to go live with the frontend change 269437 as soon as possible in order to minimize user confusion. Change-Id: I197204d8aae7a2596ad535a6882bffb6e717fb53
This commit is contained in:
@@ -1546,6 +1546,12 @@ class GrChangeActions extends mixinBehaviors( [
|
|||||||
if (ACTIONS_WITH_ICONS.has(action.__key)) {
|
if (ACTIONS_WITH_ICONS.has(action.__key)) {
|
||||||
action.icon = action.__key;
|
action.icon = action.__key;
|
||||||
}
|
}
|
||||||
|
// TODO(brohlfs): Temporary hack until change 269573 is live in all
|
||||||
|
// backends.
|
||||||
|
if (action.__key === ChangeActions.READY) {
|
||||||
|
action.label = 'Mark as Active';
|
||||||
|
}
|
||||||
|
// End of hack
|
||||||
return action;
|
return action;
|
||||||
})
|
})
|
||||||
.filter(action => !this._shouldSkipAction(action));
|
.filter(action => !this._shouldSkipAction(action));
|
||||||
|
|||||||
Reference in New Issue
Block a user