fix(frontend): auto-close WinRM update success panel after 30s (0.20.24)

Remote action log dock closes on successful fallback; no duplicate inline message.
This commit is contained in:
PTah
2026-06-21 20:41:42 +10:00
parent 5bd1333928
commit b3d28cd5d8
5 changed files with 32 additions and 7 deletions
+4 -2
View File
@@ -1,4 +1,4 @@
<template>
<template>
<p><RouterLink to="/hosts"> Хосты</RouterLink></p>
<p v-if="error" class="error">{{ error }}</p>
<p v-else-if="loading">Загрузка</p>
@@ -623,9 +623,11 @@ async function runAgentFallback() {
const job = await runHostRemoteAction(hostId.value, title, "fallback");
if (job) {
agentControlOk.value = job.ok ?? false;
agentControlMessage.value = job.message || "";
if (job.ok) {
agentControlMessage.value = "";
await loadHost();
} else {
agentControlMessage.value = job.message || "";
}
}
} finally {