]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video-playlist/video-add-to-playlist.component.ts
Add params to share modal
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video-playlist / video-add-to-playlist.component.ts
index 0dfb88aa672cc4d1b89de51e8ba2e5cfb9699395..c6cff03a4b9a82125e31eea7c26f754bff7c5561 100644 (file)
@@ -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()