unload -> reload in playlist add component

pull/1838/head
Chocobozzz 2019-05-24 11:52:19 +02:00
parent b6e342d5c6
commit 8d51015bd0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View 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()