Staff playtime figures on the staff panel only
Signed-in staff now see the public Playtime page and player drawers as everyone else does; the staff panels, names, sessions and locations stay on /admin#playtime and its drawers. The public API no longer sends them.
This commit is contained in:
parent
ba61708bed
commit
9aeea45130
5 changed files with 22 additions and 23 deletions
|
|
@ -944,7 +944,7 @@ async function act(path, method, body) {
|
|||
|
||||
/* ---------- Routing & events ---------- */
|
||||
|
||||
const playtime = () => ptPage(state.me, () => state.page === "playtime");
|
||||
const playtime = () => ptPage(state.me, () => state.page === "playtime", true);
|
||||
|
||||
const RENDER = { overview, players, bans, comms, playtime, staff, verify, settings, notifications };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue