feat/frontend: display patches in new format
pipeline / lint-and-format (push) Successful in 3m23s
pipeline / build-and-push-images (push) Successful in 1m44s
pipeline / lint-and-publish-chart (push) Successful in 6s

This commit is contained in:
2026-08-22 12:57:20 +02:00
parent fe5569fcd7
commit aff27b9a51
2 changed files with 17 additions and 1 deletions
+4 -1
View File
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { LANE_IMAGES, lanePositionToIndex, POSITIONS_STR } from '~/utils/cdragon'
import { displayPatch } from '~/utils/helpers'
import type { LaneData } from 'match_collector'
@@ -132,7 +133,9 @@ if (route.path.startsWith('/tierlist/')) {
<div style="position: absolute; bottom: 0; margin-bottom: 10px; padding-left: 10px">
<template v-if="stats">
<h3 style="font-size: 18px; font-weight: 200">Patch {{ stats.patch }}</h3>
<h3 style="font-size: 18px; font-weight: 200">
Patch {{ displayPatch(String(stats.patch)) }}
</h3>
<h3 style="font-size: 18px; font-weight: 200">{{ stats.count }} games</h3>
</template>
<template v-else>