diff --git a/frontend/index.html b/frontend/index.html
index 44eb85d..9a108e6 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -5,7 +5,7 @@
-
Welcome to Vuetify 3
+ Rush Stats
diff --git a/frontend/src/vues/GameDetails.vue b/frontend/src/vues/GameDetails.vue
index 9391c4e..a83c262 100644
--- a/frontend/src/vues/GameDetails.vue
+++ b/frontend/src/vues/GameDetails.vue
@@ -123,7 +123,6 @@ watch(
async function loadGameDetails() {
const response = await axios.get(`/api/game/${gameId.value}`)
- console.log(response)
game.value = response.data
loadPicks()
loadApps()
@@ -131,13 +130,11 @@ async function loadGameDetails() {
async function loadPicks() {
const response = await axios.post(`/api/game/${gameId.value}/picks`)
- console.log(response)
picks.value = response.data
}
async function loadApps() {
const response = await axios.post(`/api/game/${gameId.value}/apps`)
- console.log(response)
apps.value = response.data
}
diff --git a/frontend/src/vues/GameList.vue b/frontend/src/vues/GameList.vue
index def5982..3e65f72 100644
--- a/frontend/src/vues/GameList.vue
+++ b/frontend/src/vues/GameList.vue
@@ -74,15 +74,9 @@ const filtervalue = ref('')
async function loadData({ page, itemsPerPage, sortBy }: any) {
let sortString = 'id'
if (sortBy[0]) {
- console.log(sortBy[0].key)
- console.log(sortBy[0].order)
sortString = `${sortBy[0].key} ${sortBy[0].order}`
}
- console.log(page)
- console.log(itemsPerPage)
- console.log(sortBy)
-
const response = await axios.post('/api/game', {
page: `${page - 1}`,
count: `${itemsPerPage}`,
diff --git a/frontend/src/vues/ServerStats.vue b/frontend/src/vues/ServerStats.vue
index 79996bd..3d46b68 100644
--- a/frontend/src/vues/ServerStats.vue
+++ b/frontend/src/vues/ServerStats.vue
@@ -33,23 +33,31 @@
| Role |
- Active |
+
+ Characters
+ |
App Count |
Games Played |
Pick Rate % |
% Games With Role |
+ Apps Per Game |
| {{ roleName }} |
- {{ roleStat.active }} |
+
+ {{ roleStat.active }}
+ |
{{ roleStat.apps }} |
{{ roleStat.picks }} |
{{ Math.floor((roleStat.picks / roleStat.apps) * 100) }}% |
{{ Math.floor((roleStat.picks / gameStats.Complete) * 100) }}%
|
+
+ {{ Math.round((roleStat.apps / gameStats.Complete) * 100) / 100 }}
+ |
@@ -183,13 +191,11 @@ async function loadData() {
monthId: dateSelect.value
})
gameStats.value = gameStatsResponse.data
- console.log(gameStatsResponse.data)
const roleStatsResponse = await axios.post('/api/serverstats/rolestats', {
monthId: dateSelect.value
})
roleStats.value = roleStatsResponse.data
- console.log(roleStatsResponse.data)
}
function buildDateItems() {