diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-24 14:24:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-24 14:24:00 +0200 |
commit | f5b37c3ec2b3127f5a88ffa5b92c6004b89c0261 (patch) | |
tree | aa3b737e2fce84f920d8a2b93e5a00c240a33b08 /client | |
parent | 624bca15fb7a15a0a788c3d06c41af451bfca28c (diff) | |
download | PeerTube-f5b37c3ec2b3127f5a88ffa5b92c6004b89c0261.tar.gz PeerTube-f5b37c3ec2b3127f5a88ffa5b92c6004b89c0261.tar.zst PeerTube-f5b37c3ec2b3127f5a88ffa5b92c6004b89c0261.zip |
Fix method names
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/shared/video-playlist/video-add-to-playlist.component.ts | 8 |
1 files changed, 4 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 35cad9d14..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,20 +61,20 @@ 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 | ||
68 | reload () { | 68 | init () { |
69 | this.resetOptions(true) | 69 | this.resetOptions(true) |
70 | 70 | ||
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.reload() | 77 | this.init() |
78 | 78 | ||
79 | this.cd.markForCheck() | 79 | this.cd.markForCheck() |
80 | } | 80 | } |