@fundamental-ngx/platform 0.43.0-rc.0 → 0.43.0-rc.2

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.
@@ -3505,11 +3505,9 @@ class TableComponent extends Table {
3505
3505
  /** expand all rows */
3506
3506
  expandAll() {
3507
3507
  const expandableRows = this._tableRows.filter((row) => row.type === TableRowType.TREE);
3508
- if (!this._dataSourceDirective.childDataSource) {
3509
- this._markAsExpanded(expandableRows);
3510
- return;
3508
+ if (this._dataSourceDirective.childDataSource) {
3509
+ this._tableRowService.loadChildRows(expandableRows);
3511
3510
  }
3512
- this._tableRowService.loadChildRows(expandableRows);
3513
3511
  this._markAsExpanded(expandableRows);
3514
3512
  this.allRowsExpanded.emit();
3515
3513
  }