[Fix] Legacy API Package Endpoint, Pepper Unit in Pathway View (#399)

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#399
This commit is contained in:
2026-05-27 21:09:17 +12:00
parent 8079b80d57
commit 674e10c7fa
2 changed files with 40 additions and 13 deletions

View File

@ -463,7 +463,7 @@ function draw(pathway, elem) {
// TODO needs to be generic once we store it as AddInf
for (var s of n.predicted_properties["PepperPrediction"]) {
if (s["mean"] != null) {
tempContent += "<b>DT50 predicted via Pepper:</b> " + s["mean"].toFixed(2) + "<br>"
tempContent += "<b>DT50 predicted via Pepper:</b> " + s["mean"].toFixed(2) + " days<br>"
}
}
}