aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/account/account-videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/account/account-videos')
-rw-r--r--client/src/app/account/account-videos/account-videos.component.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/client/src/app/account/account-videos/account-videos.component.ts b/client/src/app/account/account-videos/account-videos.component.ts
index cc28f511a..1bc6c0a35 100644
--- a/client/src/app/account/account-videos/account-videos.component.ts
+++ b/client/src/app/account/account-videos/account-videos.component.ts
@@ -1,4 +1,4 @@
1import { Component, OnDestroy, OnInit } from '@angular/core' 1import { Component, OnInit } from '@angular/core'
2import { ActivatedRoute, Router } from '@angular/router' 2import { ActivatedRoute, Router } from '@angular/router'
3import { NotificationsService } from 'angular2-notifications' 3import { NotificationsService } from 'angular2-notifications'
4import { AbstractVideoList } from '../../shared/video/abstract-video-list' 4import { AbstractVideoList } from '../../shared/video/abstract-video-list'
@@ -9,7 +9,7 @@ import { VideoService } from '../../shared/video/video.service'
9 templateUrl: './account-videos.component.html', 9 templateUrl: './account-videos.component.html',
10 styleUrls: [ './account-videos.component.scss' ] 10 styleUrls: [ './account-videos.component.scss' ]
11}) 11})
12export class AccountVideosComponent extends AbstractVideoList implements OnInit, OnDestroy { 12export class AccountVideosComponent extends AbstractVideoList implements OnInit {
13 titlePage = 'My videos' 13 titlePage = 'My videos'
14 currentRoute = '/account/videos' 14 currentRoute = '/account/videos'
15 15
@@ -24,10 +24,6 @@ export class AccountVideosComponent extends AbstractVideoList implements OnInit,
24 super.ngOnInit() 24 super.ngOnInit()
25 } 25 }
26 26
27 ngOnDestroy () {
28 super.ngOnDestroy()
29 }
30
31 getVideosObservable () { 27 getVideosObservable () {
32 return this.videoService.getMyVideos(this.pagination, this.sort) 28 return this.videoService.getMyVideos(this.pagination, this.sort)
33 } 29 }