mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 10:06:15 -08:00
refactor: remove playlist sort operation from client
This commit is contained in:
1 file changed
+1
-3
@@ -46,9 +46,7 @@ export class HomeComponent {
|
||||
{
|
||||
id: 'playlist-all-result',
|
||||
execute: (response: { payload: Partial<Playlist[]> }) =>
|
||||
(this.playlists = response.payload.sort((a, b) =>
|
||||
b.importDate.localeCompare(a.importDate)
|
||||
)),
|
||||
(this.playlists = response.payload),
|
||||
},
|
||||
{
|
||||
id: 'playlist-remove-by-id-result',
|
||||
|
||||
Reference in new issue
Block a user