Rename play time to online time

Be a bit more accurate in the online time stat name and call it for what
it is.  It counts time spend online on the server, not necessarily
time spent playing.
This commit is contained in:
Hornwitser committed 2022-07-20 13:18:47 +02:00
1 parent fc1daa7e71
commit 04852196ad
5 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -99,8 +99,8 @@ export default function UsersPage() {
render: user => user.roles.map(id => <Tag key={id}>{(roles.get(id) || { name: id })["name"]}</Tag>),
},
{
title: "Play time",
key: "playTime",
title: "Online time",
key: "onlineTime",
render: user => user["player_stats"]["online_time_ms"]
&& formatDuration(user["player_stats"]["online_time_ms"]),
sorter: (a, b) => (a["player_stats"]["online_time_ms"] || 0) -