fix FE
Some checks failed
CI and deploy / migration-check (push) Failing after 20s
CI and deploy / deploy (push) Has been skipped

This commit is contained in:
Dusan Vojacek
2026-05-26 08:10:54 +02:00
parent 91a9bef3d7
commit da79eec077

View File

@@ -404,7 +404,7 @@ function tableRowClass(
} }
function pvAAllowedW(i: PlanningIntervalDto): number | null { function pvAAllowedW(i: PlanningIntervalDto): number | null {
const fc = i.pv_a_forecast_solver_w ?? i.pv_a_forecast_w const fc = i.pv_a_forecast_solver_w
if (fc == null) return null if (fc == null) return null
return Math.max(0, fc - (i.pv_a_curtailed_w ?? 0)) return Math.max(0, fc - (i.pv_a_curtailed_w ?? 0))
} }