fix: передать cfg в контекст positions и history страниц

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
anor
2026-03-08 22:36:51 +10:00
co-authored by Claude Opus 4.6
parent 98f2340a53
commit f3441f4818
+2
View File
@@ -76,6 +76,7 @@ def create_app(cfg: Config) -> FastAPI:
return templates.TemplateResponse("positions.html", {
"request": request,
"cfg": cfg,
"positions": positions,
})
@@ -88,6 +89,7 @@ def create_app(cfg: Config) -> FastAPI:
return templates.TemplateResponse("history.html", {
"request": request,
"cfg": cfg,
"trades": trades,
})