fix: ACV detail shows 0 — map 'acv' key to 'arpu' in fpKPIs
All checks were successful
Build pitch-deck / build-push-deploy (push) Successful in 1m25s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 41s
CI / test-python-voice (push) Successful in 36s
CI / test-bqas (push) Successful in 30s
All checks were successful
Build pitch-deck / build-push-deploy (push) Successful in 1m25s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 41s
CI / test-python-voice (push) Successful in 36s
CI / test-bqas (push) Successful in 30s
This commit is contained in:
@@ -345,7 +345,8 @@ export default function FinanzplanSlide({ lang, investorId, preferredScenarioId,
|
||||
<div className="mt-4 pt-4 border-t border-white/10">
|
||||
<div className="grid grid-cols-5 gap-2 text-center">
|
||||
{[2026,2027,2028,2029,2030].map(y => {
|
||||
const key = chartDetail === 'cash' ? 'liquiditaet' : chartDetail === 'revcost' ? 'revenue' : chartDetail
|
||||
const keyMap: Record<string, string> = { cash: 'liquiditaet', revcost: 'revenue', acv: 'arpu' }
|
||||
const key = keyMap[chartDetail!] || chartDetail
|
||||
const v = fpKPIs[`y${y}`]?.[key as keyof typeof fpKPIs['y2026']] as number || 0
|
||||
return (
|
||||
<div key={y}>
|
||||
|
||||
Reference in New Issue
Block a user