From f5b37c3ec2b3127f5a88ffa5b92c6004b89c0261 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 May 2019 14:24:00 +0200 Subject: [PATCH] Fix method names --- .../video-playlist/video-add-to-playlist.component.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() }