disabled btn

This commit is contained in:
sdarbinyan
2026-05-13 14:48:38 +04:00
parent 2554935875
commit 74dd52335f
2 changed files with 12 additions and 2 deletions

View File

@@ -102,6 +102,16 @@ export class FastcheckPage {
&& this.codeEnabled() && !this.amountLoading();
});
/**
* Share via Telegram is allowed as soon as a valid 18-digit fastcheck is
* entered and the lookup is finished — even if there is nothing to pay
* (amount is null/zero). Pay button stays governed by canPay().
*/
canShare = computed(() => {
const digits = this.fastcheckNumber().replace(/\D/g, '');
return digits.length === 18 && !this.amountLoading();
});
telegramLink = computed(() => {
const sid = this.webSessionId();
return sid