diff --git a/frontend/src/app/component/landing/landing.component.css b/frontend/src/app/component/landing/landing.component.css index e69de29..8b13789 100644 --- a/frontend/src/app/component/landing/landing.component.css +++ b/frontend/src/app/component/landing/landing.component.css @@ -0,0 +1 @@ + diff --git a/frontend/src/app/component/landing/landing.component.ts b/frontend/src/app/component/landing/landing.component.ts index 910aaae..6f3ac44 100644 --- a/frontend/src/app/component/landing/landing.component.ts +++ b/frontend/src/app/component/landing/landing.component.ts @@ -24,6 +24,10 @@ export class LandingComponent implements OnInit { storageHealth => this.storageHealth = storageHealth ).catch(err => this.logger.error(err)); + this.loadImages(); + } + + loadImages(): void { this.restService.getAllImages().toPromise().then(images => this.images = images).catch(err => this.logger.error(err)); }