diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-24 15:05:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-24 15:29:17 +0200 |
commit | 87a0cac618c8ed4a09408273d0f5a468530e8062 (patch) | |
tree | adba163a7628c5d1604c0741c82b6dc22b751249 /server/initializers | |
parent | 3eba7ab8154027621989cdd4814bc749d79bf0c9 (diff) | |
download | PeerTube-87a0cac618c8ed4a09408273d0f5a468530e8062.tar.gz PeerTube-87a0cac618c8ed4a09408273d0f5a468530e8062.tar.zst PeerTube-87a0cac618c8ed4a09408273d0f5a468530e8062.zip |
Improve admin users list table
* Fix last login sort with null values
* Remember last selected columns
* Display last login date by default
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 02c1ef251..231b86821 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -58,7 +58,7 @@ const WEBSERVER = { | |||
58 | 58 | ||
59 | // Sortable columns per schema | 59 | // Sortable columns per schema |
60 | const SORTABLE_COLUMNS = { | 60 | const SORTABLE_COLUMNS = { |
61 | USERS: [ 'id', 'username', 'videoQuotaUsed', 'createdAt', 'lastLoginDate', 'role' ], | 61 | ADMIN_USERS: [ 'id', 'username', 'videoQuotaUsed', 'createdAt', 'lastLoginDate', 'role' ], |
62 | USER_SUBSCRIPTIONS: [ 'id', 'createdAt' ], | 62 | USER_SUBSCRIPTIONS: [ 'id', 'createdAt' ], |
63 | ACCOUNTS: [ 'createdAt' ], | 63 | ACCOUNTS: [ 'createdAt' ], |
64 | JOBS: [ 'createdAt' ], | 64 | JOBS: [ 'createdAt' ], |