mirror of
https://github.com/zoriya/flood.git
synced 2026-06-08 04:41:03 +00:00
Fix torrent sort
This commit is contained in:
@@ -229,7 +229,7 @@ class TorrentStoreClass extends BaseStore {
|
||||
|
||||
sortTorrents(torrents) {
|
||||
let torrentsSort = TorrentFilterStore.getTorrentsSort();
|
||||
this.torrents = torrents;
|
||||
this.torrents = torrents || this.torrents;
|
||||
|
||||
// Convert torrents hash to array and sort it.
|
||||
this.sortedTorrents = sortTorrents(this.torrents,
|
||||
|
||||
Reference in New Issue
Block a user