Signed-off-by: Volker Theile <vtheile@suse.com>
this.rgwBucketService.list()
.subscribe((resp: object[]) => {
this.buckets = resp;
+ }, () => {
+ // Force datatable to hide the loading indicator in
+ // case of an error.
+ this.buckets = [];
});
}
this.rgwDaemonService.list()
.subscribe((resp: object[]) => {
this.daemons = resp;
+ }, () => {
+ // Force datatable to hide the loading indicator in
+ // case of an error.
+ this.daemons = [];
});
}
this.rgwUserService.list()
.subscribe((resp: object[]) => {
this.users = resp;
+ }, () => {
+ // Force datatable to hide the loading indicator in
+ // case of an error.
+ this.users = [];
});
}