RED-6558, fixed download notifications redirect.
This commit is contained in:
parent
7e4e51f82c
commit
77a84882cc
@ -43,7 +43,9 @@ export class TenantsService {
|
|||||||
if (tenant) {
|
if (tenant) {
|
||||||
this.#logger.info('[TENANTS] Tenant from route: ', tenant);
|
this.#logger.info('[TENANTS] Tenant from route: ', tenant);
|
||||||
if (await this.selectTenant(tenant)) {
|
if (await this.selectTenant(tenant)) {
|
||||||
await this.#router.navigate([tenant]);
|
const intendedPath = window.location.pathname.replace(this.#baseHref, '');
|
||||||
|
await this.#router.navigate([tenant], { skipLocationChange: true });
|
||||||
|
await this.#router.navigateByUrl(intendedPath);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user