@sinequa/atomic-angular 1.0.8 → 1.0.9
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.
|
@@ -9882,6 +9882,8 @@ class AlertDialog {
|
|
|
9882
9882
|
if (!this.alert)
|
|
9883
9883
|
return;
|
|
9884
9884
|
const q = this.alert.query;
|
|
9885
|
+
// `q.filters` widened to `Filter[] | LegacyFilter[]` upstream, but the
|
|
9886
|
+
// query-params store deliberately deals in `LegacyFilter[]` only.
|
|
9885
9887
|
const filters = Array.isArray(q.filters) ? q.filters : undefined;
|
|
9886
9888
|
this.queryParamsStore.patch({ text: q.text, tab: q.tab, basket: q.basket, sort: q.sort, filters, name: q.name });
|
|
9887
9889
|
this.dialog()?.close();
|