refactor logic for save array

This commit is contained in:
Kostya
2024-01-20 20:28:21 +03:00
parent 65e59d0100
commit e360977411
2 changed files with 3 additions and 2 deletions

View File

@@ -250,6 +250,7 @@ input[type="number"]::-webkit-outer-spin-button {
font-family: Montserrat Alternates; font-family: Montserrat Alternates;
font-size: 12px; font-size: 12px;
padding: 6px 16px; padding: 6px 16px;
margin-right: 8px;
} }
/* Saper Game */ /* Saper Game */

View File

@@ -170,8 +170,8 @@ export default {
try { try {
await GetPercentageSteps(this.amountSaveCrystals) await GetPercentageSteps(this.amountSaveCrystals)
.then((response) => { .then((response) => {
this.PercentageGameSteps = response const arrayWithOutInfinity = response.filter(item => item !== 'Infinity' )
console.log(response) this.PercentageGameSteps = arrayWithOutInfinity
}) })
} }
catch (e) { catch (e) {