diff --git a/luckydiamond/src/pages/games-pages/SapergamePage.vue b/luckydiamond/src/pages/games-pages/SapergamePage.vue index ebe4818..002eb14 100644 --- a/luckydiamond/src/pages/games-pages/SapergamePage.vue +++ b/luckydiamond/src/pages/games-pages/SapergamePage.vue @@ -171,8 +171,12 @@ export default { try { await GetPercentageSteps(this.amountSaveCrystals) .then((response) => { - const arrayWithOutInfinity = response.filter(item => item !== 'Infinity' ) - this.PercentageGameSteps = arrayWithOutInfinity + response.forEach((item) => { + if (item !== 'Infinity' && item !== '-Infinity') { + this.PercentageGameSteps.push(Number(item)) + console.log(this.PercentageGameSteps) + } + }) }) } catch (e) {