@veloceapps/api 11.0.0-58 → 11.0.0-59
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/v2/services/pcm-api.service.mjs +10 -1
- package/fesm2015/veloceapps-api-v2.mjs +9 -0
- package/fesm2015/veloceapps-api-v2.mjs.map +1 -1
- package/fesm2020/veloceapps-api-v2.mjs +9 -0
- package/fesm2020/veloceapps-api-v2.mjs.map +1 -1
- package/package.json +1 -1
- package/v2/services/pcm-api.service.d.ts +1 -0
@@ -1096,9 +1096,18 @@ class PCMApiService {
|
|
1096
1096
|
if (!pcm) {
|
1097
1097
|
throw new Error('PCM product is not found');
|
1098
1098
|
}
|
1099
|
+
this.fixUrls(pcm);
|
1099
1100
|
return pcm;
|
1100
1101
|
}));
|
1101
1102
|
}
|
1103
|
+
fixUrls(product) {
|
1104
|
+
if (product.displayUrl) {
|
1105
|
+
product.displayUrl = product.displayUrl.replaceAll('&', '&');
|
1106
|
+
}
|
1107
|
+
product.productComponentGroups.forEach(group => {
|
1108
|
+
group.components.forEach(component => this.fixUrls(component));
|
1109
|
+
});
|
1110
|
+
}
|
1102
1111
|
}
|
1103
1112
|
PCMApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCMApiService, deps: [{ token: SalesforceApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1104
1113
|
PCMApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCMApiService });
|