@veloceapps/sdk 7.0.2-110 → 7.0.2-112

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.
@@ -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 (!this.uiDefinition?.properties?.suppressToastMessages) {
1115
- this.toastService.add({ severity: ToastType.error, summary: error });
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$))