mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
refactor logic for save array
This commit is contained in:
@@ -170,8 +170,8 @@ export default {
|
||||
try {
|
||||
await GetPercentageSteps(this.amountSaveCrystals)
|
||||
.then((response) => {
|
||||
this.PercentageGameSteps = response
|
||||
console.log(response)
|
||||
const arrayWithOutInfinity = response.filter(item => item !== 'Infinity' )
|
||||
this.PercentageGameSteps = arrayWithOutInfinity
|
||||
})
|
||||
}
|
||||
catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user