diff --git a/frontend/src/pages/Planning.tsx b/frontend/src/pages/Planning.tsx index 761be00..00bdb52 100644 --- a/frontend/src/pages/Planning.tsx +++ b/frontend/src/pages/Planning.tsx @@ -404,7 +404,7 @@ function tableRowClass( } 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 return Math.max(0, fc - (i.pv_a_curtailed_w ?? 0)) }