wt-front-shared 1.0.59 → 1.0.61
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/lib/core/+state/static-data/behavios/static-data-get-list-behavior.mjs +2 -2
- package/esm2020/lib/core/+state/static-data/static-data.facade.mjs +4 -3
- package/fesm2015/wt-front-shared.mjs +4 -3
- package/fesm2015/wt-front-shared.mjs.map +1 -1
- package/fesm2020/wt-front-shared.mjs +4 -3
- package/fesm2020/wt-front-shared.mjs.map +1 -1
- package/lib/core/+state/static-data/static-data.facade.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4813,7 +4813,7 @@ class StaticDataGetListBehavior extends Behavior {
|
|
|
4813
4813
|
if (data) {
|
|
4814
4814
|
returnedActions = [
|
|
4815
4815
|
StaticDataGetListSuccess({
|
|
4816
|
-
payload: { data, meta, keepState: actionPayload.
|
|
4816
|
+
payload: { data, meta, keepState: actionPayload.keepState }
|
|
4817
4817
|
})
|
|
4818
4818
|
];
|
|
4819
4819
|
}
|
|
@@ -6905,7 +6905,7 @@ class StaticDataFacade {
|
|
|
6905
6905
|
return this.store.pipe(select(staticDataQuery.getStaticDataItem(contentType, subSection, itemIdOrSlug)));
|
|
6906
6906
|
}
|
|
6907
6907
|
loadStaticData(contentType, params, subSection = 'list') {
|
|
6908
|
-
const { where, fields, paging, sort, forPanel, search } = params;
|
|
6908
|
+
const { where, fields, paging, sort, forPanel, search, keepState } = params;
|
|
6909
6909
|
this.store.dispatch(StaticDataGetList({
|
|
6910
6910
|
payload: {
|
|
6911
6911
|
contentType,
|
|
@@ -6915,7 +6915,8 @@ class StaticDataFacade {
|
|
|
6915
6915
|
paging,
|
|
6916
6916
|
sort,
|
|
6917
6917
|
forPanel,
|
|
6918
|
-
search
|
|
6918
|
+
search,
|
|
6919
|
+
keepState
|
|
6919
6920
|
}
|
|
6920
6921
|
}));
|
|
6921
6922
|
}
|