@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.
- package/esm2020/table/table.component.mjs +2 -2
- package/esm2020/table-helpers/directives/table-initial-state.directive.mjs +2 -2
- package/esm2020/value-help-dialog/value-help-dialog/value-help-dialog.component.mjs +30 -14
- package/fesm2015/fundamental-ngx-platform-table-helpers.mjs +1 -1
- package/fesm2015/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-table.mjs +1 -1
- package/fesm2015/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-value-help-dialog.mjs +29 -12
- package/fesm2015/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-table-helpers.mjs +1 -1
- package/fesm2020/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-table.mjs +1 -1
- package/fesm2020/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-value-help-dialog.mjs +28 -12
- package/fesm2020/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/fundamental-ngx-platform-v0.43.26.tgz +0 -0
- package/package.json +4 -4
- package/schematics/ng-add/index.js +1 -1
- package/value-help-dialog/value-help-dialog/value-help-dialog.component.d.ts +6 -1
- package/fundamental-ngx-platform-v0.43.25.tgz +0 -0
|
@@ -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;
|