fixed bug with 0-step

This commit is contained in:
Kostya
2024-01-20 13:05:38 +03:00
parent 506f508924
commit 70cb8c6564
2 changed files with 5 additions and 1 deletions

View File

@@ -48,7 +48,7 @@
<template v-for="(item, index) in PercentageGameSteps" :key="index">
<swiper-slide>
<div class="steps-btns__display">
<button>{{ item.toFixed(2) }} <span>{{ index }} {{ stepsEndOfWord(index) }}</span></button>
<button>{{ item.toFixed(2) }} <span>{{ index + 1 }} {{ stepsEndOfWord(index) }}</span></button>
</div>
</swiper-slide>
</template>