Made performance overview update again on load

This commit is contained in:
Risto Lahtela 2021-02-08 18:58:11 +02:00 committed by Risto Lahtela
parent 265c4e24e7
commit 6ab44a81ce

View File

@ -969,7 +969,12 @@
<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800"><i class="sidebar-toggler fa fa-fw fa-bars"></i>${serverDisplayName}
&middot; Performance</h1>
&middot; Performance
<span class="refresh-element">
<i class="fa fa-fw fa-sync"></i> <span class="refresh-time"></span>
<span class="refresh-notice"><i class="fa fa-fw fa-cog fa-spin"></i> Updating..</span>
</span>
</h1>
${backButton}
</div>
@ -1326,7 +1331,7 @@
refreshingJsonRequest("../v1/sessionsOverview?server=${serverUUID}", loadSessionValues, 'sessions-overview');
refreshingJsonRequest("../v1/playerVersus?server=${serverUUID}", loadPvPPvEValues, "pvp-pve");
refreshingJsonRequest("../v1/playerbaseOverview?server=${serverUUID}", loadPlayerbaseOverviewValues, 'playerbase-overview');
jsonRequest("../v1/performanceOverview?server=${serverUUID}", loadPerformanceValues);
refreshingJsonRequest("../v1/performanceOverview?server=${serverUUID}", loadPerformanceValues, 'performance');
setLoadingText('Rendering graphs..');
Highcharts.setOptions({