@veloceapps/sdk 9.0.0-8 → 10.0.0-0

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.
@@ -1047,9 +1047,8 @@ class PreviewComponent {
1047
1047
  this.state$.next({ loading: false, failure: false });
1048
1048
  }), catchError(error => {
1049
1049
  console.error(error);
1050
- if (!this.uiDefinition?.properties?.suppressToastMessages) {
1051
- this.toastService.add({ severity: ToastType.error, summary: error });
1052
- }
1050
+ // we should show toast if initialization failed
1051
+ this.toastService.add({ severity: ToastType.error, summary: error, sticky: true });
1053
1052
  this.state$.next({ loading: false, failure: true });
1054
1053
  return of();
1055
1054
  }), takeUntil(this.destroy$))