diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-06 16:14:58 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-07 08:28:14 +0200 |
commit | a02b93ce756d646a59cef57b5e4ff53c2bb30bec (patch) | |
tree | 02c70651eed0a4c414e04239aa853b2377228ce9 /client/src/app/+my-account/my-account-video-playlists | |
parent | d88c9eb9db19965d0075d5835b8837649b2728fd (diff) | |
download | PeerTube-a02b93ce756d646a59cef57b5e4ff53c2bb30bec.tar.gz PeerTube-a02b93ce756d646a59cef57b5e4ff53c2bb30bec.tar.zst PeerTube-a02b93ce756d646a59cef57b5e4ff53c2bb30bec.zip |
Fix lint
Diffstat (limited to 'client/src/app/+my-account/my-account-video-playlists')
-rw-r--r-- | client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.ts b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.ts index 668a23d8f..ba95b6c8b 100644 --- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.ts +++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { Subject } from 'rxjs' | 1 | import { Subject } from 'rxjs' |
2 | import { debounceTime, flatMap } from 'rxjs/operators' | 2 | import { debounceTime, mergeMap } from 'rxjs/operators' |
3 | import { Component, OnInit } from '@angular/core' | 3 | import { Component, OnInit } from '@angular/core' |
4 | import { AuthService, ComponentPagination, ConfirmService, Notifier, User } from '@app/core' | 4 | import { AuthService, ComponentPagination, ConfirmService, Notifier, User } from '@app/core' |
5 | import { VideoPlaylist, VideoPlaylistService } from '@app/shared/shared-video-playlist' | 5 | import { VideoPlaylist, VideoPlaylistService } from '@app/shared/shared-video-playlist' |
@@ -95,7 +95,7 @@ export class MyAccountVideoPlaylistsComponent implements OnInit { | |||
95 | 95 | ||
96 | private loadVideoPlaylists (reset = false) { | 96 | private loadVideoPlaylists (reset = false) { |
97 | this.authService.userInformationLoaded | 97 | this.authService.userInformationLoaded |
98 | .pipe(flatMap(() => { | 98 | .pipe(mergeMap(() => { |
99 | return this.videoPlaylistService.listAccountPlaylists(this.user.account, this.pagination, '-updatedAt', this.videoPlaylistsSearch) | 99 | return this.videoPlaylistService.listAccountPlaylists(this.user.account, this.pagination, '-updatedAt', this.videoPlaylistsSearch) |
100 | })) | 100 | })) |
101 | .subscribe(res => { | 101 | .subscribe(res => { |