diff --git a/.gitignore b/.gitignore index 58d4d79..1b06cc5 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ /coverage /backend/backup-data .vscode +.idea # production /build diff --git a/src/pages/users.js b/src/pages/users.js index c591817..fc14bd6 100644 --- a/src/pages/users.js +++ b/src/pages/users.js @@ -281,7 +281,7 @@ function Users() { return 0; } - if (orderBy === 'TotalPlays') { + if (orderBy === 'TotalPlays' || orderBy === 'TotalWatchTime') { let order_a = parseInt(a[orderBy]); let order_b = parseInt(b[orderBy]);