fix(luci): ensure ucitrack registration and trigger service reload on save and apply

This commit is contained in:
Dushnilin
2026-09-09 20:28:56 +03:00
parent f2865b4bb2
commit c2908d484a
4 changed files with 46 additions and 1 deletions
@@ -463,7 +463,15 @@ const EntryPoint = {
return Promise.resolve(originalHandleSaveApply.call(this, ev, mode))
.then((result) => {
window.setTimeout(refreshUiState, 250);
if (
main.TachyonShellMethods &&
typeof main.TachyonShellMethods.serviceActionStart === "function"
) {
main.TachyonShellMethods.serviceActionStart("reload").catch(
() => null,
);
}
window.setTimeout(refreshUiState, 500);
return result;
})