@fuentis/phoenix-ui 0.0.9-alpha.260 → 0.0.9-alpha.261
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.
|
@@ -1860,12 +1860,14 @@ class TableCaptionComponent {
|
|
|
1860
1860
|
if (!this.tableConfiguration || !this.columns)
|
|
1861
1861
|
return;
|
|
1862
1862
|
this.FILTER_KEY = `filters_${this.tableConfiguration.key}`;
|
|
1863
|
-
|
|
1863
|
+
if (this.tableConfiguration.hasColumns) {
|
|
1864
|
+
this.COLUMN_KEY = `columns_${this.tableConfiguration.key}`;
|
|
1865
|
+
this.initializeSelectedColumns();
|
|
1866
|
+
this.restoreColumnState();
|
|
1867
|
+
}
|
|
1864
1868
|
this.initializeFilterForm();
|
|
1865
|
-
this.initializeSelectedColumns();
|
|
1866
1869
|
this.initializeGlobalFilterFields();
|
|
1867
1870
|
this.restoreFilterState();
|
|
1868
|
-
this.restoreColumnState();
|
|
1869
1871
|
}
|
|
1870
1872
|
initializeFilterForm() {
|
|
1871
1873
|
this.filtersForm = this.fb.group({});
|