v1.1.56: fix JS load order — selectService() moved to app.js (was calling stopPoll before operations.js loaded)

This commit is contained in:
2026-07-30 22:09:26 +04:00
parent a96658b9b5
commit 7ae172e863
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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 from routes.api_scenario_defs import bp_defs as api_scenario_defs_bp
# Версия — меняется при КАЖДОМ изменении кода. Показывается в топбаре UI. # Версия — меняется при КАЖДОМ изменении кода. Показывается в топбаре UI.
VERSION = "1.1.55" VERSION = "1.1.56"
app = Flask(__name__, template_folder="templates", static_folder="static") 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") app.config["NUBES_API_ENDPOINT"] = os.getenv("NUBES_API_ENDPOINT", "https://lk-api-gateway-test.ngcloud.ru/api/v1/svc")
+2 -1
View File
@@ -12,5 +12,6 @@
* scenario-list.js — toggleScenario(), loadScenarios(), runScenario() * scenario-list.js — toggleScenario(), loadScenarios(), runScenario()
*/ */
// Инициализация лог-панели // Инициализация
startLogPoll(); startLogPoll();
selectService(currentSvcId);
+1 -2
View File
@@ -85,5 +85,4 @@ function opClass(opName){
return ''; return '';
} }
// Инициализация
selectService(currentSvcId);