v1.1.56: fix JS load order — selectService() moved to app.js (was calling stopPoll before operations.js loaded)
This commit is contained in:
+1
-1
@@ -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")
|
||||
|
||||
+2
-1
@@ -12,5 +12,6 @@
|
||||
* scenario-list.js — toggleScenario(), loadScenarios(), runScenario()
|
||||
*/
|
||||
|
||||
// Инициализация лог-панели
|
||||
// Инициализация
|
||||
startLogPoll();
|
||||
selectService(currentSvcId);
|
||||
|
||||
@@ -85,5 +85,4 @@ function opClass(opName){
|
||||
return '';
|
||||
}
|
||||
|
||||
// Инициализация
|
||||
selectService(currentSvcId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user