Replace more page.show

Change-Id: Ia39171a733c41506b5b6dc2f58780697755a40c9
This commit is contained in:
Kasper Nilsson
2018-10-11 17:19:13 -07:00
parent 7b9a085245
commit 8901b612e1

View File

@@ -1153,14 +1153,14 @@
break;
case ChangeActions.DELETE:
if (action.__type === ActionType.CHANGE) {
page.show('/');
Gerrit.Nav.navigateToRelativeUrl(Gerrit.Nav.getUrlForRoot());
}
break;
case ChangeActions.WIP:
case ChangeActions.DELETE_EDIT:
case ChangeActions.PUBLISH_EDIT:
case ChangeActions.REBASE_EDIT:
page.show(this.changePath(this.changeNum));
Gerrit.Nav.navigateToChange(this.change);
break;
default:
this.dispatchEvent(new CustomEvent('reload-change',