|
@ -270,10 +270,6 @@ export class GfAssistantComponent implements OnChanges, OnDestroy, OnInit { |
|
|
|
|
|
|
|
|
this.filterForm.disable({ emitEvent: false }); |
|
|
this.filterForm.disable({ emitEvent: false }); |
|
|
|
|
|
|
|
|
if (this.hasPermissionToChangeFilters) { |
|
|
|
|
|
this.filterForm.enable({ emitEvent: false }); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.tags = |
|
|
this.tags = |
|
|
this.user?.tags |
|
|
this.user?.tags |
|
|
?.filter(({ isUsed }) => { |
|
|
?.filter(({ isUsed }) => { |
|
@ -328,6 +324,9 @@ export class GfAssistantComponent implements OnChanges, OnDestroy, OnInit { |
|
|
this.searchElement?.nativeElement?.focus(); |
|
|
this.searchElement?.nativeElement?.focus(); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
this.isLoading = false; |
|
|
|
|
|
this.setIsOpen(true); |
|
|
|
|
|
|
|
|
this.dataService |
|
|
this.dataService |
|
|
.fetchPortfolioHoldings() |
|
|
.fetchPortfolioHoldings() |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
@ -340,8 +339,11 @@ export class GfAssistantComponent implements OnChanges, OnDestroy, OnInit { |
|
|
return a.name?.localeCompare(b.name); |
|
|
return a.name?.localeCompare(b.name); |
|
|
}); |
|
|
}); |
|
|
this.setFilterFormValues(); |
|
|
this.setFilterFormValues(); |
|
|
this.isLoading = false; |
|
|
|
|
|
this.setIsOpen(true); |
|
|
if (this.hasPermissionToChangeFilters) { |
|
|
|
|
|
this.filterForm.enable({ emitEvent: false }); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
this.changeDetectorRef.markForCheck(); |
|
|
this.changeDetectorRef.markForCheck(); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|