fixed validation for deposit-payments

This commit is contained in:
Kostya
2024-01-28 00:25:33 +03:00
parent b43cadea0e
commit aa8a56c932
3 changed files with 114 additions and 47 deletions

View File

@@ -388,10 +388,10 @@ export default {
if (this.v$.amountDeposit.$error) {
this.errorPlayButton()
}
else if (this.v$.amountCrystals.$error) {
if (this.v$.amountCrystals.$error) {
this.errorPlayButton()
}
else {
if (!this.v$.amountCrystals.$error && !this.v$.amountDeposit.$error) {
this.flippedCards = []
this.unCorrectClick = []
this.CorrectsClick = []