diff --git a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts index ec63c268a..50034fbb3 100644 --- a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts +++ b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts @@ -210,7 +210,6 @@ export class GfCreateOrUpdateAccessDialogComponent private loadFilterData() { const existingFilter = this.data.access.settings?.filter; - // Cargar cuentas this.dataService .fetchAccounts() .pipe(takeUntil(this.unsubscribeSubject)) @@ -219,7 +218,6 @@ export class GfCreateOrUpdateAccessDialogComponent this.updateFiltersFormControl(existingFilter); }); - // Cargar holdings y asset classes this.dataService .fetchPortfolioDetails({}) .pipe(takeUntil(this.unsubscribeSubject)) @@ -227,7 +225,6 @@ export class GfCreateOrUpdateAccessDialogComponent if (response.holdings) { this.holdings = Object.values(response.holdings); - // Extraer asset classes Ășnicas const assetClassesSet = new Set(); Object.values(response.holdings).forEach((holding) => { if (holding.assetClass) { @@ -245,7 +242,6 @@ export class GfCreateOrUpdateAccessDialogComponent this.changeDetectorRef.markForCheck(); }); - // Cargar tags this.dataService .fetchTags() .pipe(takeUntil(this.unsubscribeSubject)) @@ -308,7 +304,6 @@ export class GfCreateOrUpdateAccessDialogComponent } private async createAccess() { - // Construir el objeto filter si estamos en modo PUBLIC const filter = this.showFilterPanel ? this.buildFilterObject() : undefined; const access: CreateAccessDto = { @@ -350,7 +345,6 @@ export class GfCreateOrUpdateAccessDialogComponent } private async updateAccess() { - // Construir el objeto filter si estamos en modo PUBLIC const filter = this.showFilterPanel ? this.buildFilterObject() : undefined; const access: UpdateAccessDto = {