added loadImages
This commit is contained in:
parent
95180bb8e7
commit
9187a9b4a0
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user