From 8d51015bd0bdf9c1bc1df9a1ba127d87ba0f36ae Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 May 2019 11:52:19 +0200 Subject: unload -> reload in playlist add component --- .../src/app/shared/video-playlist/video-add-to-playlist.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/shared') 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 0dfb88aa6..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,7 +61,7 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit, ngOnChanges (simpleChanges: SimpleChanges) { if (simpleChanges['video']) { - this.unload() + this.reload() } } @@ -71,7 +71,7 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit, if (this.lazyLoad !== true) this.load() } - unload () { + reload () { this.videoPlaylists = [] this.init() -- cgit v1.2.3