fix FE
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user