-
+
+
-
+
diff --git a/src/components/notification/notification.component.ts b/src/components/notification/notification.component.ts
index adc0df7..eb9d29a 100644
--- a/src/components/notification/notification.component.ts
+++ b/src/components/notification/notification.component.ts
@@ -126,9 +126,8 @@ export class NotificationComponent implements OnInit, OnDestroy {
// Progress bar variables
- public title: any;
- public content: any;
+ public templateData: any = null;
public titleIsTemplate = false;
public contentIsTemplate = false;
public htmlIsTemplate = false;
@@ -250,12 +249,6 @@ export class NotificationComponent implements OnInit, OnDestroy {
}
private contentType(item: any, key: string) {
- if (item instanceof TemplateRef) {
- this[key] = item;
- } else {
- this[key] = this.domSanitizer.bypassSecurityTrustHtml(item);
- }
-
this[key + 'IsTemplate'] = item instanceof TemplateRef;
}
}