fix: add subscription tab to desktop nav, fix device dots overflow, show available referral balance

- Add Subscription tab to desktop header navigation (was only in mobile)
- Fix device dots overflow for large limits (>10) by using progress bar
- Show available referral balance on dashboard instead of total earnings
- Add available_balance and withdrawn fields to ReferralInfo type
This commit is contained in:
Fringg
2026-02-27 04:53:37 +03:00
parent 82987fd49a
commit 27f85a1db1
5 changed files with 39 additions and 15 deletions

View File

@@ -265,7 +265,7 @@ export default function Dashboard() {
balanceRubles={balanceData?.balance_rubles || 0}
subscription={subscription}
referralCount={referralInfo?.total_referrals || 0}
earningsRubles={referralInfo?.total_earnings_rubles || 0}
earningsRubles={referralInfo?.available_balance_rubles || 0}
refLoading={refLoading}
/>