wt-front-shared 1.0.51 → 1.0.53
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/components/static-data/containers/static-data-details/static-data-details.component.mjs +4 -2
- package/esm2020/lib/core/services/base/base-api-service.mjs +3 -3
- package/fesm2015/wt-front-shared.mjs +4 -2
- package/fesm2015/wt-front-shared.mjs.map +1 -1
- package/fesm2020/wt-front-shared.mjs +4 -2
- package/fesm2020/wt-front-shared.mjs.map +1 -1
- package/lib/core/components/static-data/containers/static-data-details/static-data-details.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1962,7 +1962,7 @@ class BaseAPIService {
|
|
|
1962
1962
|
observe: 'response',
|
|
1963
1963
|
responseType: 'json'
|
|
1964
1964
|
};
|
|
1965
|
-
if (request instanceof PostRequest || request instanceof PutRequest) {
|
|
1965
|
+
if (request instanceof PostRequest || request instanceof PutRequest || request instanceof PatchRequest) {
|
|
1966
1966
|
if (request.body instanceof FormData) {
|
|
1967
1967
|
options.body = request.body;
|
|
1968
1968
|
}
|
|
@@ -10891,7 +10891,7 @@ class StaticDataDetailsComponent {
|
|
|
10891
10891
|
if (this.parentSection && this.parentItemId) {
|
|
10892
10892
|
urlExtras.queryParams = {
|
|
10893
10893
|
parentSection: this.parentSection,
|
|
10894
|
-
parentItemId: Number(this.parentItemId)
|
|
10894
|
+
parentItemId: Number(this.parentItemId)
|
|
10895
10895
|
};
|
|
10896
10896
|
}
|
|
10897
10897
|
if (this.parentParentHashTag) {
|
|
@@ -10905,7 +10905,9 @@ class StaticDataDetailsComponent {
|
|
|
10905
10905
|
if (!this.currentItemId || data.newId !== this.currentItemId) {
|
|
10906
10906
|
this.currentItemId = data.newId;
|
|
10907
10907
|
let urlExtras = this.getUrlExtras();
|
|
10908
|
+
this.itemId = data.newId;
|
|
10908
10909
|
this.routerFacade.goTo(['/static-data', this.contentType, data.newId], urlExtras);
|
|
10910
|
+
this.staticDataSubscription();
|
|
10909
10911
|
notificationParams = {
|
|
10910
10912
|
id: `form-message-create-${this.contentType}-${this.itemId}`,
|
|
10911
10913
|
type: 'success',
|