@fuentis/phoenix-ui 0.0.9-alpha.638 → 0.0.9-alpha.639
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.
|
@@ -2056,7 +2056,13 @@ class TableCaptionComponent {
|
|
|
2056
2056
|
}
|
|
2057
2057
|
// Normalize filters (backward compatible) before building form
|
|
2058
2058
|
const normalizedFilters = this.normalizeFilters(this.filters);
|
|
2059
|
-
|
|
2059
|
+
// Key the rebuild signature on the storage identity (FILTER_KEY), not just
|
|
2060
|
+
// the table key. Sibling tabs that share the same filter columns (e.g. IT
|
|
2061
|
+
// Systems vs Virtualization) but persist under different stateKeys must
|
|
2062
|
+
// rebuild — and thus re-restore — when switched between while the caption
|
|
2063
|
+
// instance is reused; otherwise the reused form keeps the previous tab's
|
|
2064
|
+
// values and the persisted filter looks lost until a full reload.
|
|
2065
|
+
const signature = this.buildSignature(this.FILTER_KEY, normalizedFilters);
|
|
2060
2066
|
if (signature !== this.lastSignature) {
|
|
2061
2067
|
this.lastSignature = signature;
|
|
2062
2068
|
this.buildFiltersForm(normalizedFilters);
|