@posiwise/public-modules 0.1.33 → 0.1.34
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.
|
@@ -113,9 +113,9 @@ var AbTestContainerComponent = class AbTestContainerComponent {
|
|
|
113
113
|
}
|
|
114
114
|
getExperiment() {
|
|
115
115
|
this.service.getExperiment(this.experimentName, AB_TEST_ACTIONS.START, this.serviceInput).subscribe({
|
|
116
|
-
next: (
|
|
116
|
+
next: ({ result }) => {
|
|
117
117
|
this.showDefaultExperiment = false;
|
|
118
|
-
this.data =
|
|
118
|
+
this.data = result || {};
|
|
119
119
|
this.publishToAlternatives();
|
|
120
120
|
},
|
|
121
121
|
error: () => {
|
|
@@ -454,7 +454,7 @@ var LandingPageContactComponent = class LandingPageContactComponent extends AppB
|
|
|
454
454
|
product_id: this.masterProductId
|
|
455
455
|
};
|
|
456
456
|
this.commonService.addContactUsMessage(postData).subscribe({
|
|
457
|
-
next: (response) => {
|
|
457
|
+
next: ({ result: response }) => {
|
|
458
458
|
if (this.gaEventObj) this.googleAnalyticsService.sendEvent(this.gaEventObj.category, this.gaEventObj.action, this.gaEventObj.label, this.gaEventObj.value);
|
|
459
459
|
this.confirmDialog.open({
|
|
460
460
|
text: response.message,
|
|
@@ -1227,7 +1227,7 @@ var LandingPageContactBComponent = class LandingPageContactBComponent extends Ap
|
|
|
1227
1227
|
product_id: this.masterProductId
|
|
1228
1228
|
};
|
|
1229
1229
|
this.commonService.addContactUsMessage(postData).subscribe({
|
|
1230
|
-
next: (response) => {
|
|
1230
|
+
next: ({ result: response }) => {
|
|
1231
1231
|
if (this.gaEventObj) this.googleAnalyticsService.sendEvent(this.gaEventObj.category, this.gaEventObj.action, this.gaEventObj.label, this.gaEventObj.value);
|
|
1232
1232
|
this.confirmDialog.open({
|
|
1233
1233
|
text: response.message,
|
|
@@ -4698,11 +4698,11 @@ var IncidentsStatusComponent = class IncidentsStatusComponent extends AppBaseCom
|
|
|
4698
4698
|
this.lastUpdated = Date.now();
|
|
4699
4699
|
this.cdr.markForCheck();
|
|
4700
4700
|
})).subscribe((res) => {
|
|
4701
|
-
this.openIncidents = res?.open_incidents.map((x) => ({
|
|
4701
|
+
this.openIncidents = res?.result?.open_incidents.map((x) => ({
|
|
4702
4702
|
...x,
|
|
4703
4703
|
description: this.sanitizer.bypassSecurityTrustHtml(x.description)
|
|
4704
4704
|
}));
|
|
4705
|
-
this.pastIncidents = res?.past_incidents.map((x) => ({
|
|
4705
|
+
this.pastIncidents = res?.result?.past_incidents.map((x) => ({
|
|
4706
4706
|
...x,
|
|
4707
4707
|
description: this.sanitizer.bypassSecurityTrustHtml(x.description)
|
|
4708
4708
|
}));
|
|
@@ -5340,7 +5340,7 @@ var BaseContactFormComponent = class BaseContactFormComponent extends AppBaseCom
|
|
|
5340
5340
|
product_id: this.masterProductId
|
|
5341
5341
|
};
|
|
5342
5342
|
this.commonService.addContactUsMessage(postData).subscribe({
|
|
5343
|
-
next: (response) => {
|
|
5343
|
+
next: ({ result: response }) => {
|
|
5344
5344
|
this.confirmDialog.open({
|
|
5345
5345
|
text: response.message,
|
|
5346
5346
|
confirmOnly: true
|
|
@@ -5479,7 +5479,7 @@ var SupportPublicComponent = class SupportPublicComponent extends AppBaseCompone
|
|
|
5479
5479
|
this.cdr.markForCheck();
|
|
5480
5480
|
});
|
|
5481
5481
|
inject(CommonService).getIncidents().pipe(takeUntilDestroyed()).subscribe({
|
|
5482
|
-
next: (res) => this.setStatus(serviceStatusFrom(res)),
|
|
5482
|
+
next: (res) => this.setStatus(serviceStatusFrom(res?.result ?? null)),
|
|
5483
5483
|
error: () => this.setStatus({
|
|
5484
5484
|
state: "unknown",
|
|
5485
5485
|
count: 0
|