Show daily target below profit target in accounts table

Displays the server-computed dailyTarget.amount as a secondary line
"$X today" under the profit target in the Target column.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Senofy
2026-03-12 12:59:50 -05:00
co-authored by Claude Sonnet 4.6
parent b7952a83ef
commit 1e1b837cf3
+6 -1
View File
@@ -134,7 +134,12 @@ function AccountRow({ account, firm, hideDead, privacy }: { account: AccountStat
{account.daysTraded} / {cfg?.minTradingDays ?? '—'}
</td>
<td className="px-4 py-3 text-slate-600 tabular-nums">
${cfg?.profitTarget?.toLocaleString() ?? '—'}
<div className="flex flex-col">
<span>${cfg?.profitTarget?.toLocaleString() ?? '—'}</span>
{account.dailyTarget && (
<span className="text-xs text-slate-400">${fmt(account.dailyTarget.amount)} today</span>
)}
</div>
</td>
<td className="px-4 py-3">
<div className="flex items-center justify-between">