mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2026-02-04 18:24:14 +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-family: Montserrat Alternates;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
padding: 6px 16px;
|
padding: 6px 16px;
|
||||||
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Saper Game */
|
/* Saper Game */
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user