From f5b37c3ec2b3127f5a88ffa5b92c6004b89c0261 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 May 2019 14:24:00 +0200 Subject: Fix method names --- .../app/shared/video-playlist/video-add-to-playlist.component.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client/src') diff --git a/client/src/app/shared/video-playlist/video-add-to-playlist.component.ts b/client/src/app/shared/video-playlist/video-add-to-playlist.component.ts index 35cad9d14..c6cff03a4 100644 --- a/client/src/app/shared/video-playlist/video-add-to-playlist.component.ts +++ b/client/src/app/shared/video-playlist/video-add-to-playlist.component.ts @@ -61,20 +61,20 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit, ngOnChanges (simpleChanges: SimpleChanges) { if (simpleChanges['video']) { - this.unload() + this.reload() } } - reload () { + init () { this.resetOptions(true) if (this.lazyLoad !== true) this.load() } - unload () { + reload () { this.videoPlaylists = [] - this.reload() + this.init() this.cd.markForCheck() } -- cgit v1.2.3