@fluxhub/fluxhub-lib 11.0.11 → 11.0.12

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.
@@ -4877,6 +4877,7 @@
4877
4877
  this.allegato_inserito = "ALLEGATO INSERITO";
4878
4878
  this.inserire_descrizione = "Descrizione Obbligatoria";
4879
4879
  this.selezionare_tipologia = "Selezionare la Tipologia";
4880
+ this.show_error = true;
4880
4881
  this.lista_allegati = [];
4881
4882
  this.change = new i0.EventEmitter();
4882
4883
  this.upload_ended = new i0.EventEmitter();
@@ -5019,7 +5020,8 @@
5019
5020
  }
5020
5021
  };
5021
5022
  _this.uploader.onErrorItem = function (a, b, c, d) {
5022
- _this.toastr.error(b);
5023
+ if (_this.show_error)
5024
+ _this.toastr.error(b);
5023
5025
  };
5024
5026
  _this.uploader.onAfterAddingFile = function (fileItem) {
5025
5027
  _this.ch(fileItem);
@@ -5206,6 +5208,7 @@
5206
5208
  allegato_inserito: [{ type: i0.Input }],
5207
5209
  inserire_descrizione: [{ type: i0.Input }],
5208
5210
  selezionare_tipologia: [{ type: i0.Input }],
5211
+ show_error: [{ type: i0.Input }],
5209
5212
  lista_allegati: [{ type: i0.Input }],
5210
5213
  change: [{ type: i0.Output }],
5211
5214
  upload_ended: [{ type: i0.Output }],