cache dashboard graph

This commit is contained in:
Ibnu Maksum
2024-02-06 16:41:26 +07:00
parent 80cecabfb0
commit f3d7687cdb
2 changed files with 58 additions and 47 deletions

View File

@ -194,7 +194,7 @@
{literal}
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var counts = JSON.parse('{/literal}{$counts|json_encode}{literal}');
var counts = JSON.parse('{/literal}{$monthlyRegistered|json_encode}{literal}');
var monthNames = [
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',