From d94778e02d80084d62270a8d7c578c0812ddf16b Mon Sep 17 00:00:00 2001 From: El-gitano Date: Thu, 19 Apr 2018 23:35:15 +0200 Subject: [PATCH] In ui-carousel component subscriptions member is now correctly instanciated --- ui-carousel/ui-carousel.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-carousel/ui-carousel.component.ts b/ui-carousel/ui-carousel.component.ts index 6300fb92..249101cf 100644 --- a/ui-carousel/ui-carousel.component.ts +++ b/ui-carousel/ui-carousel.component.ts @@ -39,7 +39,7 @@ import { UICarouselItemComponent } from '../ui-carousel-item/ui-carousel-item.co export class UICarouselComponent implements OnInit { private nextSubject: Subject = new Subject(); private prevSubject: Subject = new Subject(); - private subscriptions: Subscription; + private subscriptions: Subscription = new Subscription(); @Output() onChange: EventEmitter = new EventEmitter(); @Input() height: string = "300px"; @Input() width: string = "100%";