Skip to content

Commit

Permalink
Update Home.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita authored Dec 29, 2021
1 parent 6cc19d1 commit aeb0175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export default {
if (!this.sum) return alert('Вы не указали сумму!');
if (!this.comment) return alert('Вы не указали комментарий!');
if (this.sum < 10) return alert('Минимальная сумма пополнения 10 руб.');
if (this.sum >= 15000) return alert('Максимальная сумма пополнения 10 руб.');
if (this.sum >= 15000) return alert('Максимальная сумма пополнения 15000 руб.');
if (this.comment.length >= 150) return alert('Максимальная длина комментария 150 символов.');
const data = await (await fetch(`https://${url}/qiwi/create`, {
method: 'POST',
Expand Down

0 comments on commit aeb0175

Please sign in to comment.