diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-17 11:27:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-17 14:01:45 +0200 |
commit | 1378c0d343028f3d40d7d795422684ab9e6a1599 (patch) | |
tree | 08062b84a38a7e2dfe0aa674e7ca8e1b7321044e /client/src/app/+my-library/my-video-playlists/my-video-playlists.component.ts | |
parent | c186a67f90203af6bfa434f026efdc99193bcd65 (diff) | |
download | PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.gz PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.zst PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.zip |
Fix client lint
Diffstat (limited to 'client/src/app/+my-library/my-video-playlists/my-video-playlists.component.ts')
-rw-r--r-- | client/src/app/+my-library/my-video-playlists/my-video-playlists.component.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.ts b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.ts index d90102693..f0e4c348b 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.ts +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.ts | |||
@@ -37,16 +37,16 @@ export class MyVideoPlaylistsComponent { | |||
37 | if (res === false) return | 37 | if (res === false) return |
38 | 38 | ||
39 | this.videoPlaylistService.removeVideoPlaylist(videoPlaylist) | 39 | this.videoPlaylistService.removeVideoPlaylist(videoPlaylist) |
40 | .subscribe( | 40 | .subscribe({ |
41 | () => { | 41 | next: () => { |
42 | this.videoPlaylists = this.videoPlaylists | 42 | this.videoPlaylists = this.videoPlaylists |
43 | .filter(p => p.id !== videoPlaylist.id) | 43 | .filter(p => p.id !== videoPlaylist.id) |
44 | 44 | ||
45 | this.notifier.success($localize`Playlist ${videoPlaylist.displayName}} deleted.`) | 45 | this.notifier.success($localize`Playlist ${videoPlaylist.displayName}} deleted.`) |
46 | }, | 46 | }, |
47 | 47 | ||
48 | error => this.notifier.error(error.message) | 48 | error: err => this.notifier.error(err.message) |
49 | ) | 49 | }) |
50 | } | 50 | } |
51 | 51 | ||
52 | isRegularPlaylist (playlist: VideoPlaylist) { | 52 | isRegularPlaylist (playlist: VideoPlaylist) { |