mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
fix(gift): cabinet GiftResult shows claim link for directed gifts + review fixes
Pairs with the backend cabinet-unification. Directed cabinet gifts now stay PAID/claimable, so the buyer's GiftResult must show the share link for them too. - GiftResult.tsx: render the share state (and stop polling) for ANY claimable paid gift via is_claimable, not just is_code_only. - api/gift.ts: GiftPurchaseStatus gains is_claimable. - GiftClaim.tsx: explicit failed/expired state (was falling into the 'almost ready' spinner forever). - PurchaseSuccess.tsx: a paid gift is always claimable — stop polling and show the share block on `paid && is_gift` (don't gate on is_claimable, which could strand the buyer on a spinner). - i18n: landing.giftClaim.failedTitle/failedDesc in ru/en/zh/fa.
This commit is contained in:
@@ -4510,7 +4510,9 @@
|
||||
"activateTelegram": "فعالسازی در تلگرام",
|
||||
"activateWeb": "فعالسازی با ایمیل",
|
||||
"emailLabel": "ایمیل شما",
|
||||
"claimNow": "دریافت هدیه"
|
||||
"claimNow": "دریافت هدیه",
|
||||
"failedTitle": "هدیه در دسترس نیست",
|
||||
"failedDesc": "پرداخت این هدیه انجام نشد، بنابراین قابل فعالسازی نیست."
|
||||
},
|
||||
"giftLink": {
|
||||
"shareText": "یک هدیه برای شما دارم! اینجا فعال کنید:",
|
||||
|
||||
Reference in New Issue
Block a user