|
|
@ -40,8 +40,8 @@ import { |
|
|
ChangeDetectorRef, |
|
|
ChangeDetectorRef, |
|
|
Component, |
|
|
Component, |
|
|
DestroyRef, |
|
|
DestroyRef, |
|
|
Inject, |
|
|
OnInit, |
|
|
OnInit |
|
|
inject |
|
|
} from '@angular/core'; |
|
|
} from '@angular/core'; |
|
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; |
|
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; |
|
|
import { FormBuilder, FormGroup, ReactiveFormsModule } from '@angular/forms'; |
|
|
import { FormBuilder, FormGroup, ReactiveFormsModule } from '@angular/forms'; |
|
|
@ -163,18 +163,21 @@ export class GfHoldingDetailDialogComponent implements OnInit { |
|
|
protected user: User; |
|
|
protected user: User; |
|
|
protected value: number; |
|
|
protected value: number; |
|
|
|
|
|
|
|
|
|
|
|
protected readonly data = inject<HoldingDetailDialogParams>(MAT_DIALOG_DATA); |
|
|
|
|
|
protected readonly dialogRef = inject( |
|
|
|
|
|
MatDialogRef<GfHoldingDetailDialogComponent> |
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
private tags: Tag[]; |
|
|
private tags: Tag[]; |
|
|
|
|
|
|
|
|
public constructor( |
|
|
private readonly changeDetectorRef = inject(ChangeDetectorRef); |
|
|
private changeDetectorRef: ChangeDetectorRef, |
|
|
private readonly dataService = inject(DataService); |
|
|
private dataService: DataService, |
|
|
private readonly destroyRef = inject(DestroyRef); |
|
|
private destroyRef: DestroyRef, |
|
|
private readonly formBuilder = inject(FormBuilder); |
|
|
public dialogRef: MatDialogRef<GfHoldingDetailDialogComponent>, |
|
|
private readonly router = inject(Router); |
|
|
@Inject(MAT_DIALOG_DATA) public data: HoldingDetailDialogParams, |
|
|
private readonly userService = inject(UserService); |
|
|
private formBuilder: FormBuilder, |
|
|
|
|
|
private router: Router, |
|
|
public constructor() { |
|
|
private userService: UserService |
|
|
|
|
|
) { |
|
|
|
|
|
addIcons({ |
|
|
addIcons({ |
|
|
arrowDownCircleOutline, |
|
|
arrowDownCircleOutline, |
|
|
createOutline, |
|
|
createOutline, |
|
|
|