mmhglobal-dynamicform 2.41.1 → 2.41.2
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/README.md +2 -0
- package/esm2020/lib/services/main.service.mjs +6 -5
- package/fesm2015/mmhglobal-dynamicform.mjs +5 -4
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +5 -4
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -913,14 +913,15 @@ class MainService {
|
|
|
913
913
|
console.log(event);
|
|
914
914
|
}
|
|
915
915
|
handleNavigationError(event) {
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
this.updateAppMonPerformance(TriggerFromType.navigateError, this.previousUrl, false, duration).subscribe();
|
|
919
|
-
}
|
|
916
|
+
const duration = performance.now() - this.navigationStartTime;
|
|
917
|
+
this.updateAppMonPerformance(TriggerFromType.navigateError, this.previousUrl, false, duration).subscribe();
|
|
920
918
|
console.log(event.error);
|
|
921
919
|
this.removeLastNavigateRecord();
|
|
922
920
|
}
|
|
923
921
|
updateAppMonPerformance(triggerType, url, isSuccess, duration) {
|
|
922
|
+
if (this.environment.skipAppmon) {
|
|
923
|
+
return of({});
|
|
924
|
+
}
|
|
924
925
|
// Initialize appmonDomainUrl if missing
|
|
925
926
|
if (!this.resourceApiService.appmonDomainUrl) {
|
|
926
927
|
this.resourceApiService.appmonDomainUrl = sessionStorage.getItem('AppmonDomainUrl') || '';
|