ng-inail-common 1.0.388 → 1.0.392

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.
@@ -8728,7 +8728,11 @@
8728
8728
  }
8729
8729
  // Se nella paginazione esterna viene specificata una proprieta di sorting
8730
8730
  // modifico il componente thLabel associato
8731
- if (this.paginationInfo && this.paginationInfo.sortProperty) {
8731
+ if (changes
8732
+ && changes.paginationInfo
8733
+ && changes.paginationInfo.currentValue
8734
+ && this.paginationInfo
8735
+ && this.paginationInfo.sortProperty) {
8732
8736
  // console.warn('>>>>>>>', this.paginationInfo, this.thLabelComponents)
8733
8737
  if (this.thLabelComponents) {
8734
8738
  /** @type {?} */
@@ -8740,7 +8744,11 @@
8740
8744
  }
8741
8745
  }
8742
8746
  // In caso di paginazione interna se specificato un ordinamento iniziale
8743
- if (!this.paginationInfo && this.initialSort) {
8747
+ if (!this.paginationInfo
8748
+ && changes
8749
+ && changes.initialSort
8750
+ && changes.initialSort.currentValue
8751
+ && this.initialSort) {
8744
8752
  this.impostaOrdinamentoIniziale();
8745
8753
  }
8746
8754
  };