Fixes graphs
parent
f59c758fbc
commit
04e89ddca9
|
@ -26,7 +26,7 @@
|
|||
<?php if ($page === 'agents') { ?>
|
||||
<script src="<?= htmlspecialchars($app_root) ?>static/agents.js"></script>
|
||||
<?php } ?>
|
||||
<?php if ($page === 'graphs') { ?>
|
||||
<?php if ($page === 'data' && $item === 'graphs') { ?>
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/moment@2.29.1"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/chartjs-adapter-moment@1.0.0"></script>
|
||||
|
|
Loading…
Reference in New Issue