Fix charts
This commit is contained in:
parent
49f452d9f2
commit
94fed58de3
@ -234,7 +234,9 @@ class Service(models.Model):
|
|||||||
"session_chart_data": json.dumps(
|
"session_chart_data": json.dumps(
|
||||||
[
|
[
|
||||||
{"x": str(key), "y": value}
|
{"x": str(key), "y": value}
|
||||||
for key, value in session_chart_data.items()
|
for key, value in sorted(
|
||||||
|
session_chart_data.items(), key=lambda k: k[0]
|
||||||
|
)
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
"online": True,
|
"online": True,
|
||||||
|
Loading…
Reference in New Issue
Block a user