@fundamental-ngx/platform 0.43.25 → 0.43.26

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.
@@ -2463,7 +2463,7 @@ class TableInitialStateDirective extends TableInitialState {
2463
2463
  const columns = this._table.getTableColumns();
2464
2464
  const page = prevState.page;
2465
2465
  const visibleColumns = this.initialVisibleColumns ||
2466
- (prevState.columns.length ? prevState.columns : columns.map(({ name }) => name));
2466
+ (prevState.columns.length ? prevState.columns : columns.filter((c) => c.visible).map(({ name }) => name));
2467
2467
  const directiveInitialPage = (_a = this.initialPage) !== null && _a !== void 0 ? _a : 1;
2468
2468
  this._table._loadPreviousPages =
2469
2469
  this._table.pageScrolling && this._table.loadPagesBefore && directiveInitialPage > 1;