@ng-nest/ui 19.0.1 → 19.0.3

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.
@@ -1239,7 +1239,7 @@ class XTableComponent extends XTableProperty {
1239
1239
  }
1240
1240
  }
1241
1241
  getDataByFunc() {
1242
- if (!this.manual())
1242
+ if (!this.manual() || !this.dataIsFunc())
1243
1243
  return;
1244
1244
  this.getting.set(true);
1245
1245
  this.unSubject.next();
@@ -1260,8 +1260,7 @@ class XTableComponent extends XTableProperty {
1260
1260
  });
1261
1261
  }
1262
1262
  setManual() {
1263
- if (this.dataIsFunc())
1264
- this.getDataByFunc();
1263
+ this.getDataByFunc();
1265
1264
  }
1266
1265
  setRowChecked() {
1267
1266
  this.rowChecked.set(this.columns().find((x) => x.rowChecked));
@@ -1278,12 +1277,12 @@ class XTableComponent extends XTableProperty {
1278
1277
  return false;
1279
1278
  }
1280
1279
  pageChange(_type) {
1281
- this.dataIsFunc() && this.getDataByFunc();
1280
+ this.getDataByFunc();
1282
1281
  this.resetScroll();
1283
1282
  }
1284
1283
  change(index) {
1285
1284
  this.index.set(index);
1286
- this.dataIsFunc() && this.getDataByFunc();
1285
+ this.getDataByFunc();
1287
1286
  this.resetScroll();
1288
1287
  }
1289
1288
  resetScroll(x = true, y = true) {