v0.5.3: fix — таблица сервисов теперь меняется при смене стенда (LocalProxy)

This commit is contained in:
2026-08-01 20:29:45 +04:00
parent c35032ca43
commit 1f03f66e50
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ def index():
текущую задержку операций, список сервисов с операциями.
Использует Jinja2-шаблон templates/index.html и внешний CSS из static/style.css.
"""
svc_count = len(_cfg.SERVICES)
svc_count = len(SERVICES)
inst_count = len(state.instances)
# Список стендов
@@ -61,7 +61,7 @@ def index():
# Список сервисов для таблицы: name, id, кол-во операций
svc_list = []
for sid, svc in sorted(_cfg.SERVICES.items(), key=lambda x: x[1].get("name", x[0])):
for sid, svc in sorted(SERVICES.items(), key=lambda x: x[1].get("name", x[0])):
svc_list.append({
"id": sid,
"name": svc.get("name", sid),