aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/shared/video-playlist/video-add-to-playlist.component.ts4
1 files changed, 2 insertions, 2 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 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,
61 61
62 ngOnChanges (simpleChanges: SimpleChanges) { 62 ngOnChanges (simpleChanges: SimpleChanges) {
63 if (simpleChanges['video']) { 63 if (simpleChanges['video']) {
64 this.unload() 64 this.reload()
65 } 65 }
66 } 66 }
67 67
@@ -71,7 +71,7 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit,
71 if (this.lazyLoad !== true) this.load() 71 if (this.lazyLoad !== true) this.load()
72 } 72 }
73 73
74 unload () { 74 reload () {
75 this.videoPlaylists = [] 75 this.videoPlaylists = []
76 76
77 this.init() 77 this.init()