From a02b93ce756d646a59cef57b5e4ff53c2bb30bec Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 6 Aug 2020 16:14:58 +0200 Subject: Fix lint --- .../my-account-video-playlists.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.ts') 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 @@ import { Subject } from 'rxjs' -import { debounceTime, flatMap } from 'rxjs/operators' +import { debounceTime, mergeMap } from 'rxjs/operators' import { Component, OnInit } from '@angular/core' import { AuthService, ComponentPagination, ConfirmService, Notifier, User } from '@app/core' import { VideoPlaylist, VideoPlaylistService } from '@app/shared/shared-video-playlist' @@ -95,7 +95,7 @@ export class MyAccountVideoPlaylistsComponent implements OnInit { private loadVideoPlaylists (reset = false) { this.authService.userInformationLoaded - .pipe(flatMap(() => { + .pipe(mergeMap(() => { return this.videoPlaylistService.listAccountPlaylists(this.user.account, this.pagination, '-updatedAt', this.videoPlaylistsSearch) })) .subscribe(res => { -- cgit v1.2.3