Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix method names

Chocobozzzf5b37c3ec2b3
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 35cad9d14f..c6cff03a4b 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()
}