From 8ae4fe3fe43ee987fc2c2076434c6a467948ef3c Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 10 Dec 2025 15:13:40 +0200 Subject: [PATCH] Update entity limit management link for entities limit request notification. --- .../dialog/entity-limit-exceeded-dialog.component.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ui-ngx/src/app/shared/components/dialog/entity-limit-exceeded-dialog.component.ts b/ui-ngx/src/app/shared/components/dialog/entity-limit-exceeded-dialog.component.ts index 7efabb0fcb..ce6491071e 100644 --- a/ui-ngx/src/app/shared/components/dialog/entity-limit-exceeded-dialog.component.ts +++ b/ui-ngx/src/app/shared/components/dialog/entity-limit-exceeded-dialog.component.ts @@ -24,7 +24,6 @@ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { TranslateService } from '@ngx-translate/core'; import { DialogService } from '@core/services/dialog.service'; import { AuthService } from '@core/auth/auth.service'; -import { TenantService } from '@core/http/tenant.service'; import { getCurrentAuthUser } from '@core/auth/auth.selectors'; import { NotificationService } from '@core/http/notification.service'; @@ -51,7 +50,6 @@ export class EntityLimitExceededDialogComponent extends DialogComponent { - this.authService.redirectUrl = `/tenantProfiles/${tenant.tenantProfileId.id}`; - this.authService.logout(); - } - ); + this.authService.redirectUrl = `/tenants/${getCurrentAuthUser(this.store).tenantId}`; + this.authService.logout(); } }