mirror of https://github.com/Chocobozzz/PeerTube
unload -> reload in playlist add component
parent
b6e342d5c6
commit
8d51015bd0
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue