import { Component, Input, Output, EventEmitter } from '@angular/core';
import { ROUTER_DIRECTIVES } from '@angular/router';
-import { Video, VideoService } from '../shared';
+import { SortField, Video, VideoService } from '../shared';
import { User } from '../../shared';
@Component({
export class VideoMiniatureComponent {
@Output() removed = new EventEmitter<any>();
+ @Input() currentSort: SortField;
@Input() user: User;
@Input() video: Video;