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()