mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-29 18:13:47 +00:00
fix: block wheel spin without active subscription
- Add has_subscription to WheelConfig type - Disable spin button when user has no subscription - Add noSubscription guard in handleUnifiedSpin handler - Show warning banner directing user to activate subscription - Prevent banner stacking (noSubscription takes priority over daily limit) - Add noSubscription i18n keys for ru, en, zh, fa
This commit is contained in:
@@ -26,6 +26,7 @@ export interface WheelConfig {
|
||||
can_pay_days: boolean;
|
||||
user_balance_kopeks: number;
|
||||
required_balance_kopeks: number;
|
||||
has_subscription: boolean;
|
||||
}
|
||||
|
||||
export interface SpinAvailability {
|
||||
|
||||
Reference in New Issue
Block a user