mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Client: replace simple tables by ng2 smart table component
This commit is contained in:
parent
13fc89f4a4
commit
28798b5d94
17 changed files with 263 additions and 162 deletions
|
@ -18,8 +18,8 @@ const SEARCHABLE_COLUMNS = {
|
|||
|
||||
// Sortable columns per schema
|
||||
const SORTABLE_COLUMNS = {
|
||||
USERS: [ 'username', '-username', 'createdAt', '-createdAt' ],
|
||||
VIDEO_ABUSES: [ 'createdAt', '-createdAt' ],
|
||||
USERS: [ 'id', '-id', 'username', '-username', 'createdAt', '-createdAt' ],
|
||||
VIDEO_ABUSES: [ 'id', '-id', 'createdAt', '-createdAt' ],
|
||||
VIDEOS: [ 'name', '-name', 'duration', '-duration', 'createdAt', '-createdAt' ]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue