diff --git a/site/app.py b/site/app.py index c0571ad..30f5ffa 100644 --- a/site/app.py +++ b/site/app.py @@ -32,7 +32,7 @@ from routes.api_scenario_defs import bp_defs as api_scenario_defs_bp # Версия — показывается в топбаре UI. Меняется при КАЖДОМ изменении кода. # Нужна для фильтрации истории (пользователь видит только записи своей версии). -VERSION = "1.2.28" +VERSION = "1.2.29" # Flask-приложение с Jinja2-шаблонами из папки templates/ app = Flask(__name__, template_folder="templates", static_folder="static") diff --git a/site/templates/index.html b/site/templates/index.html index c436467..7a10402 100644 --- a/site/templates/index.html +++ b/site/templates/index.html @@ -78,7 +78,7 @@
Сервисы
- {% for svc in services %}{% if svc.svcId in config.service_ids %}
{{ svc.svcId }}. {{ svc.svc }}
{% endif %}{% endfor %} + {% for svc in services %}{% if not config.service_ids or svc.svcId in config.service_ids %}
{{ svc.svcId }}. {{ svc.svc }}
{% endif %}{% endfor %}