this.createBootstrapForm.get('siteName').setValue(response.site_name);
});
- this.subs = this.rbdMirroringService.subscribeSummary((data: any) => {
- if (!data) {
- return;
- }
-
+ this.subs = this.rbdMirroringService.subscribeSummary((data) => {
const pools = data.content_data.pools;
this.pools = pools.reduce((acc: any[], pool: Pool) => {
acc.push({