From 7ae172e8630f91f14c000604b9de1cfa08906bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Thu, 30 Jul 2026 22:09:26 +0400 Subject: [PATCH] =?UTF-8?q?v1.1.56:=20fix=20JS=20load=20order=20=E2=80=94?= =?UTF-8?q?=20selectService()=20moved=20to=20app.js=20(was=20calling=20sto?= =?UTF-8?q?pPoll=20before=20operations.js=20loaded)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/app.py | 2 +- site/static/app.js | 3 ++- site/static/js/instances.js | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/site/app.py b/site/app.py index 171cb96..78b2245 100644 --- a/site/app.py +++ b/site/app.py @@ -19,7 +19,7 @@ from routes.api_scenario_run import bp_run as api_scenario_run_bp from routes.api_scenario_defs import bp_defs as api_scenario_defs_bp # Версия — меняется при КАЖДОМ изменении кода. Показывается в топбаре UI. -VERSION = "1.1.55" +VERSION = "1.1.56" app = Flask(__name__, template_folder="templates", static_folder="static") app.config["NUBES_API_ENDPOINT"] = os.getenv("NUBES_API_ENDPOINT", "https://lk-api-gateway-test.ngcloud.ru/api/v1/svc") diff --git a/site/static/app.js b/site/static/app.js index 1e9d0ce..81eeb66 100644 --- a/site/static/app.js +++ b/site/static/app.js @@ -12,5 +12,6 @@ * scenario-list.js — toggleScenario(), loadScenarios(), runScenario() */ -// Инициализация лог-панели +// Инициализация startLogPoll(); +selectService(currentSvcId); diff --git a/site/static/js/instances.js b/site/static/js/instances.js index a783b55..2464e7b 100644 --- a/site/static/js/instances.js +++ b/site/static/js/instances.js @@ -85,5 +85,4 @@ function opClass(opName){ return ''; } -// Инициализация -selectService(currentSvcId); +