@fluxhub/fluxhub-lib 1.0.598 → 1.0.599

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.
@@ -3714,6 +3714,23 @@
3714
3714
  }
3715
3715
  }));
3716
3716
  };
3717
+ /**
3718
+ * @return {?}
3719
+ */
3720
+ FHUploadComponent.prototype.load_types = /**
3721
+ * @return {?}
3722
+ */
3723
+ function () {
3724
+ var _this = this;
3725
+ if (this.cmb_tipo == null) {
3726
+ setTimeout((/**
3727
+ * @return {?}
3728
+ */
3729
+ function () { _this.load_types(); }), 200);
3730
+ return;
3731
+ }
3732
+ this.cmb_tipo.fillCombo();
3733
+ };
3717
3734
  /**
3718
3735
  * @return {?}
3719
3736
  */
@@ -3726,11 +3743,6 @@
3726
3743
  var uo = {};
3727
3744
  uo.headers = [{ name: 'Authorization', value: 'Bearer ' + localStorage.getItem(this.app_s.COMPANY_KEY + "token") }];
3728
3745
  // console.log('ngOnInit!!');
3729
- if (this.multi_list)
3730
- setTimeout((/**
3731
- * @return {?}
3732
- */
3733
- function () { _this.cmb_tipo.fillCombo(); }), 100);
3734
3746
  this.uploader.setOptions(uo);
3735
3747
  this.uploader.onCompleteAll = (/**
3736
3748
  * @return {?}
@@ -3887,6 +3899,7 @@
3887
3899
  // console.log('init! ',this.tipo)
3888
3900
  if (this.tipo.indexOf('SELECT_') > -1) {
3889
3901
  this.multi_list = true;
3902
+ this.load_types();
3890
3903
  //console.log('fillCombo');
3891
3904
  }
3892
3905
  };