web: fix UserChart not showing authorizations

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-22 23:15:38 +01:00
parent 80cc0fcc61
commit 863124efbb

View file

@ -39,7 +39,7 @@ export class UserChart extends AKChart<UserMetrics> {
label: "Application authorizations",
backgroundColor: "rgba(43, 154, 243, .5)",
spanGaps: true,
data: data.loginsPer1h?.map((cord) => {
data: data.authorizationsPer1h?.map((cord) => {
return {
x: cord.xCord,
y: cord.yCord,