@esfaenza/es-table 11.2.60 → 11.2.61

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.
@@ -3370,7 +3370,7 @@ class EsTableComponent {
3370
3370
  // In modalità normale invece se le preferenze fanno riferimento a delle colonne che io non ho nella View attuale significa che
3371
3371
  // sto facendo riferimento a una versione vecchia dell'es-table, quindi non foccio operazioni
3372
3372
  for (let i = 0; i < source.length; i++) {
3373
- if (!repository.indexOf(source[i])) {
3373
+ if (repository.indexOf(source[i]) == -1) {
3374
3374
  updatedPrefs = false;
3375
3375
  break;
3376
3376
  }
@@ -3417,7 +3417,7 @@ class EsTableComponent {
3417
3417
  // In modalità normale invece se le preferenze fanno riferimento a delle colonne che io non ho nella View attuale significa che
3418
3418
  // sto facendo riferimento a una versione vecchia dell'es-table, quindi non foccio operazioni
3419
3419
  for (let i = 0; i < source.length; i++) {
3420
- if (!repository.indexOf(source[i])) {
3420
+ if (repository.indexOf(source[i]) == -1) {
3421
3421
  updatedPrefs = false;
3422
3422
  break;
3423
3423
  }