From 8b0c1d75812c0e21e1fadac3a1dbc9229094ca70 Mon Sep 17 00:00:00 2001 From: Fabian Petzold Date: Thu, 23 Nov 2023 21:59:59 +0100 Subject: [PATCH] Fix: segmentaion data is empty --- projects/announcekit-angular/src/lib/announcekit.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/announcekit-angular/src/lib/announcekit.component.ts b/projects/announcekit-angular/src/lib/announcekit.component.ts index 12b86ba..247b3c8 100644 --- a/projects/announcekit-angular/src/lib/announcekit.component.ts +++ b/projects/announcekit-angular/src/lib/announcekit.component.ts @@ -73,7 +73,7 @@ export class AnnouncekitComponent implements AfterViewInit { private propsValid: boolean = true; private _user: User; - private _data: Data; + private _data: Data = {}; public className: string; public widgetInstance: any;