mirror of https://github.com/rancher/ui.git
Fix the refresh issue when add ns
https://github.com/rancher/rancher/issues/18809
This commit is contained in:
parent
6c4a4d070d
commit
4977c344aa
|
|
@ -19,7 +19,7 @@ export default Controller.extend(NewOrEdit, {
|
|||
let backTo = get(this, 'session').get(C.SESSION.BACK_TO)
|
||||
|
||||
if (backTo) {
|
||||
window.location.href = backTo;
|
||||
this.transitionToRoute('authenticated.project.ns.index', get(this, 'addTo'));
|
||||
} else {
|
||||
this.transitionToRoute('authenticated.cluster.projects.index');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue