mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-14 05:06:16 -08:00
feat: draggable channels in favorites list
This commit is contained in:
1 parent
de17686cdf
commit
ba41c8dae5
9 files changed
+101
-23
No files matched your search
@@ -180,4 +180,15 @@ export class PlaylistsService {
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
setFavorites(playlistId: string, favorites: string[]) {
|
||||
return this.getPlaylistById(playlistId).pipe(
|
||||
switchMap((playlist) =>
|
||||
this.dbService.update(DbStores.Playlists, {
|
||||
...playlist,
|
||||
favorites,
|
||||
})
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user