Merge "Redirect to dashboard when removing a change"
This commit is contained in:
commit
5bc3eef046
@ -396,11 +396,13 @@
|
||||
case RevisionActions.CHERRYPICK:
|
||||
page.show(this.changePath(obj._number));
|
||||
break;
|
||||
case RevisionActions.DELETE:
|
||||
page.show(this.changePath(this.changeNum));
|
||||
break;
|
||||
case ChangeActions.DELETE:
|
||||
page.show('/');
|
||||
case RevisionActions.DELETE:
|
||||
if (action.__type === ActionType.CHANGE) {
|
||||
page.show('/');
|
||||
} else {
|
||||
page.show(this.changePath(this.changeNum));
|
||||
}
|
||||
break;
|
||||
default:
|
||||
this.fire('reload-change', null, {bubbles: false});
|
||||
|
Loading…
Reference in New Issue
Block a user