Update default sort field to 'added' and direction to 'desc' in torrent table component
This commit is contained in:
parent
6572ba752c
commit
f2dab9f6e1
1 changed files with 2 additions and 2 deletions
|
|
@ -21,8 +21,8 @@ export class TorrentTableComponent implements OnInit {
|
||||||
public torrents: Torrent[] = [];
|
public torrents: Torrent[] = [];
|
||||||
public selectedTorrents: string[] = [];
|
public selectedTorrents: string[] = [];
|
||||||
public error: string;
|
public error: string;
|
||||||
public sortProperty = 'rdName';
|
public sortProperty = 'added';
|
||||||
public sortDirection: 'asc' | 'desc' = 'asc';
|
public sortDirection: 'asc' | 'desc' = 'desc';
|
||||||
|
|
||||||
public isDeleteModalActive: boolean;
|
public isDeleteModalActive: boolean;
|
||||||
public deleteError: string;
|
public deleteError: string;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue