mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
refactor logic for save array
This commit is contained in:
@@ -250,6 +250,7 @@ input[type="number"]::-webkit-outer-spin-button {
|
||||
font-family: Montserrat Alternates;
|
||||
font-size: 12px;
|
||||
padding: 6px 16px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
/* Saper Game */
|
||||
|
||||
@@ -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