disabled btn
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user