Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
doug0102 committed Nov 23, 2023
1 parent 9dfc7db commit f44e9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/shared/components/list/list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit f44e9c3

Please sign in to comment.