@luizleon/sf.prefeiturasp.vuecomponents 6.0.4 → 6.0.5

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.
@@ -6294,10 +6294,10 @@ class om {
6294
6294
  this._value = e;
6295
6295
  }
6296
6296
  get hasSuccess() {
6297
- return !this.hasError;
6297
+ return this.isSuccessfulHttpStatusCode && this.errors.length === 0;
6298
6298
  }
6299
6299
  get hasError() {
6300
- return this.errors.length > 0;
6300
+ return !this.hasSuccess;
6301
6301
  }
6302
6302
  get httpStatusCode() {
6303
6303
  return this._httpStatusCode;