@cauca-911/material 20.2.3 → 20.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1871,6 +1871,9 @@ class LoadingStateService {
1871
1871
  withLoadingIndicator(observable$) {
1872
1872
  return of(null).pipe(tap(() => this.startLoading()), mergeMap(() => observable$), catchError((error) => this.handleError(error)), finalize(() => this.hideLoading()));
1873
1873
  }
1874
+ setAsInError() {
1875
+ this.hasError.set(true);
1876
+ }
1874
1877
  startLoading() {
1875
1878
  this.hasError.set(false);
1876
1879
  this.showLoading();