added loadImages
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,10 @@ export class LandingComponent implements OnInit {
|
|||||||
storageHealth => this.storageHealth = storageHealth
|
storageHealth => this.storageHealth = storageHealth
|
||||||
).catch(err => this.logger.error(err));
|
).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));
|
this.restService.getAllImages().toPromise().then(images => this.images = images).catch(err => this.logger.error(err));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user