Skip to content

Commit f393d24

Browse files
committed
await
1 parent 8ad3e23 commit f393d24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/offerings/gallery/gallery.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class GalleryComponent implements OnInit {
6363
});
6464
}
6565

66-
ngOnInit() {
66+
async ngOnInit() {
6767
this.products=[];
6868
this.nextProducts=[];
6969
this.checkPanel();
@@ -72,7 +72,7 @@ export class GalleryComponent implements OnInit {
7272
this.keywords = keywords;
7373
this.searchField.setValue(this.keywords);
7474
}
75-
this.getProducts(false);
75+
await this.getProducts(false);
7676

7777
this.eventMessage.messages$.subscribe(ev => {
7878
if(ev.type === 'AddedFilter' || ev.type === 'RemovedFilter') {

0 commit comments

Comments
 (0)