aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/shared/video-playlist/video-add-to-playlist.component.ts6
1 files changed, 2 insertions, 4 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 be15f2352..35cad9d14 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
@@ -57,8 +57,6 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit,
57 this.buildForm({ 57 this.buildForm({
58 displayName: this.videoPlaylistValidatorsService.VIDEO_PLAYLIST_DISPLAY_NAME 58 displayName: this.videoPlaylistValidatorsService.VIDEO_PLAYLIST_DISPLAY_NAME
59 }) 59 })
60
61 this.init()
62 } 60 }
63 61
64 ngOnChanges (simpleChanges: SimpleChanges) { 62 ngOnChanges (simpleChanges: SimpleChanges) {
@@ -67,7 +65,7 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit,
67 } 65 }
68 } 66 }
69 67
70 init () { 68 reload () {
71 this.resetOptions(true) 69 this.resetOptions(true)
72 70
73 if (this.lazyLoad !== true) this.load() 71 if (this.lazyLoad !== true) this.load()
@@ -76,7 +74,7 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit,
76 unload () { 74 unload () {
77 this.videoPlaylists = [] 75 this.videoPlaylists = []
78 76
79 this.init() 77 this.reload()
80 78
81 this.cd.markForCheck() 79 this.cd.markForCheck()
82 } 80 }