Made pvp&pve update again on load

This commit is contained in:
Risto Lahtela 2021-02-08 18:54:13 +02:00 committed by Risto Lahtela
parent c6817e0e28
commit b0e1928b0e

View File

@ -611,7 +611,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; PvP & PvE</h1>
&middot; PvP & PvE
<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>
@ -1309,7 +1314,7 @@
refreshingJsonRequest("../v1/serverOverview?server=${serverUUID}", loadserverOverviewValues, 'server-overview');
refreshingJsonRequest("../v1/onlineOverview?server=${serverUUID}", loadOnlineActivityOverviewValues, 'online-activity-overview');
refreshingJsonRequest("../v1/sessionsOverview?server=${serverUUID}", loadSessionValues, 'sessions-overview');
jsonRequest("../v1/playerVersus?server=${serverUUID}", loadPvPPvEValues);
refreshingJsonRequest("../v1/playerVersus?server=${serverUUID}", loadPvPPvEValues, "pvp-pve");
jsonRequest("../v1/playerbaseOverview?server=${serverUUID}", loadPlayerbaseOverviewValues);
jsonRequest("../v1/performanceOverview?server=${serverUUID}", loadPerformanceValues);
setLoadingText('Rendering graphs..');