detailed -> usage

This commit is contained in:
Peter Lewis 2024-02-25 21:42:51 +00:00
parent a4da7421c8
commit a40dbe130e
No known key found for this signature in database
7 changed files with 17 additions and 17 deletions

View file

@ -53,7 +53,7 @@ new Vue({
latestRelease: null,
isDark: null,
uiDetailedStats: false,
uiUsageStats: false,
chartOptions: {
chart: {
@ -293,13 +293,13 @@ new Vue({
}).catch(console.error);
}, 1000);
this.api.getUiDetailedStats()
this.api.getuiUsageStats()
.then((res) => {
this.uiDetailedStats = res;
this.uiUsageStats = res;
})
.catch(() => {
console.log('Failed to get ui-detailed-stats');
this.uiDetailedStats = false;
console.log('Failed to get ui-usage-stats');
this.uiUsageStats = false;
});
Promise.resolve().then(async () => {