diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-24 11:52:19 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-24 11:52:19 +0200 |
commit | 8d51015bd0bdf9c1bc1df9a1ba127d87ba0f36ae (patch) | |
tree | 7bc88beaf7f0771743fba9ef68fb8df0299be48a /client/src/app/shared | |
parent | b6e342d5c6c265a93ad1cf63a00dcf6ececebede (diff) | |
download | PeerTube-8d51015bd0bdf9c1bc1df9a1ba127d87ba0f36ae.tar.gz PeerTube-8d51015bd0bdf9c1bc1df9a1ba127d87ba0f36ae.tar.zst PeerTube-8d51015bd0bdf9c1bc1df9a1ba127d87ba0f36ae.zip |
unload -> reload in playlist add component
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/video-playlist/video-add-to-playlist.component.ts | 4 |
1 files changed, 2 insertions, 2 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 0dfb88aa6..c6cff03a4 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,7 +61,7 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit, | |||
61 | 61 | ||
62 | ngOnChanges (simpleChanges: SimpleChanges) { | 62 | ngOnChanges (simpleChanges: SimpleChanges) { |
63 | if (simpleChanges['video']) { | 63 | if (simpleChanges['video']) { |
64 | this.unload() | 64 | this.reload() |
65 | } | 65 | } |
66 | } | 66 | } |
67 | 67 | ||
@@ -71,7 +71,7 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit, | |||
71 | if (this.lazyLoad !== true) this.load() | 71 | if (this.lazyLoad !== true) this.load() |
72 | } | 72 | } |
73 | 73 | ||
74 | unload () { | 74 | reload () { |
75 | this.videoPlaylists = [] | 75 | this.videoPlaylists = [] |
76 | 76 | ||
77 | this.init() | 77 | this.init() |