@veloceapps/sdk 7.0.2-110 → 7.0.2-112
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/cms/components/preview/preview.component.mjs +3 -4
- package/esm2020/core/modules/configuration/services/configuration.service.mjs +8 -3
- package/fesm2015/veloceapps-sdk-cms.mjs +2 -4
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk-core.mjs +7 -2
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-cms.mjs +2 -3
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +7 -2
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/package.json +1 -1
@@ -1111,9 +1111,8 @@ class PreviewComponent {
|
|
1111
1111
|
this.state$.next({ loading: false, failure: false });
|
1112
1112
|
}), catchError(error => {
|
1113
1113
|
console.error(error);
|
1114
|
-
if
|
1115
|
-
|
1116
|
-
}
|
1114
|
+
// we should show toast if initialization failed
|
1115
|
+
this.toastService.add({ severity: ToastType.error, summary: error, sticky: true });
|
1117
1116
|
this.state$.next({ loading: false, failure: true });
|
1118
1117
|
return of();
|
1119
1118
|
}), takeUntil(this.destroy$))
|