|
@@ -172,12 +172,13 @@ export class AdjusterService {
|
|
|
}
|
|
}
|
|
|
this.clusters = clusters;
|
|
this.clusters = clusters;
|
|
|
this._clusteringInProcess = false;
|
|
this._clusteringInProcess = false;
|
|
|
- this.adjusterEventService.clustersLoaded.next();
|
|
|
|
|
|
|
+ this.adjusterEventService.clustersLoaded.next({success: true});
|
|
|
})
|
|
})
|
|
|
.catch((error) => {
|
|
.catch((error) => {
|
|
|
console.warn(`Error obtaining data from ${this.serviceBaseUrl}.`);
|
|
console.warn(`Error obtaining data from ${this.serviceBaseUrl}.`);
|
|
|
console.log(error);
|
|
console.log(error);
|
|
|
this._clusteringInProcess = false;
|
|
this._clusteringInProcess = false;
|
|
|
|
|
+ this.adjusterEventService.clustersLoaded.next({success: false});
|
|
|
});
|
|
});
|
|
|
};
|
|
};
|
|
|
this.hsUtilsService.debounce(f, 300, false, this)();
|
|
this.hsUtilsService.debounce(f, 300, false, this)();
|