From cc1561f9f7b33d739d66b23bacae23ea49f2fa12 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 17 Apr 2018 10:35:08 +0200 Subject: Simplify client syndications --- client/src/app/shared/video/video-feed.component.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'client/src/app/shared/video/video-feed.component.ts') diff --git a/client/src/app/shared/video/video-feed.component.ts b/client/src/app/shared/video/video-feed.component.ts index 41257ca99..6922153c0 100644 --- a/client/src/app/shared/video/video-feed.component.ts +++ b/client/src/app/shared/video/video-feed.component.ts @@ -1,14 +1,10 @@ -import { Component, Input, OnChanges, SimpleChanges } from '@angular/core' +import { Component, Input } from '@angular/core' @Component({ selector: 'my-video-feed', styleUrls: [ './video-feed.component.scss' ], templateUrl: './video-feed.component.html' }) -export class VideoFeedComponent implements OnChanges { +export class VideoFeedComponent { @Input() syndicationItems - - ngOnChanges (changes: SimpleChanges) { - this.syndicationItems = changes.syndicationItems.currentValue - } } -- cgit v1.2.3