Fix method names
authorChocobozzz <me@florianbigard.com>
Fri, 24 May 2019 12:24:00 +0000 (14:24 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 24 May 2019 12:25:12 +0000 (14:25 +0200)
client/src/app/shared/video-playlist/video-add-to-playlist.component.ts

index e7f7dfe8aaff1301340f18ce03013dd5bb44b12f..c6cff03a4b9a82125e31eea7c26f754bff7c5561 100644 (file)
@@ -65,7 +65,7 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit,
     }
   }
 
-  reload () {
+  init () {
     this.resetOptions(true)
 
     if (this.lazyLoad !== true) this.load()
@@ -74,7 +74,7 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit,
   reload () {
     this.videoPlaylists = []
 
-    this.reload()
+    this.init()
 
     this.cd.markForCheck()
   }