From f44e9c31433c578f6933d74e607874b5cc6d473a Mon Sep 17 00:00:00 2001 From: doug0102 Date: Thu, 23 Nov 2023 13:39:19 -0500 Subject: [PATCH] fix test --- src/app/shared/components/list/list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/components/list/list.component.ts b/src/app/shared/components/list/list.component.ts index 48f3a01e..a7787dbf 100644 --- a/src/app/shared/components/list/list.component.ts +++ b/src/app/shared/components/list/list.component.ts @@ -25,7 +25,7 @@ export class ListComponent implements OnInit { ngOnInit(): void { if (this.items.length === 0) { - this.service.getMany(10, 5000).subscribe((items: typeof this.service.dataType[]) => { + this.service?.getMany(10, 5000).subscribe((items: typeof this.service.dataType[]) => { this.items = items; this.loading = false; });