Spaces:
Running
Running
axeronis commited on
Commit ·
340319d
1
Parent(s): 434dda7
fix: Use correct Lead type fields (telegram_id/whatsapp_id instead of channel/phone)
Browse files
frontend/app/dashboard/page.tsx
CHANGED
|
@@ -415,7 +415,7 @@ export default function DashboardPage() {
|
|
| 415 |
{lead.name || 'Неизвестный'}
|
| 416 |
</p>
|
| 417 |
<p className="text-xs text-slate-500 truncate">
|
| 418 |
-
{lead.
|
| 419 |
</p>
|
| 420 |
</div>
|
| 421 |
<div className="flex flex-col items-end gap-1">
|
|
|
|
| 415 |
{lead.name || 'Неизвестный'}
|
| 416 |
</p>
|
| 417 |
<p className="text-xs text-slate-500 truncate">
|
| 418 |
+
{lead.telegram_id ? 'Telegram' : lead.whatsapp_id ? 'WhatsApp' : 'Contact'} • {lead.email || lead.telegram_id || lead.whatsapp_id || 'Нет контакта'}
|
| 419 |
</p>
|
| 420 |
</div>
|
| 421 |
<div className="flex flex-col items-end gap-1">
|