redirect to listing on new-tenant save
This commit is contained in:
parent
bc6cd2e1ca
commit
891d01796b
|
@ -130,8 +130,6 @@ export class TenantEditorComponent extends BaseEditor<TenantEditorModel, Tenant>
|
||||||
|
|
||||||
if (id === null) {
|
if (id === null) {
|
||||||
route.push('../..');
|
route.push('../..');
|
||||||
} else if (this.isNew) {
|
|
||||||
route.push('../' + id);
|
|
||||||
} else {
|
} else {
|
||||||
route.push('..');
|
route.push('..');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue