fix: SSH update modal polls locally, collapsed log by default (v0.5.9)
Modal owns job poll and completion UI with countdown; log hidden until user clicks Показать лог; db.refresh on remote-job; cache-bust poll requests.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<template v-for="entry in hostRemoteActionLogs" :key="entry.id">
|
||||
<HostActionLogModal
|
||||
v-if="entry.open"
|
||||
:host-id="entry.hostId"
|
||||
:open="true"
|
||||
:title="entry.title"
|
||||
:loading="entry.loading"
|
||||
@@ -12,6 +13,7 @@
|
||||
:log-visible="entry.logVisible"
|
||||
@close="closeHostRemoteActionLog(entry.id)"
|
||||
@toggle-log="toggleHostRemoteActionLog(entry.id)"
|
||||
@finished="syncHostRemoteActionJobFinished(entry.id, $event)"
|
||||
/>
|
||||
</template>
|
||||
</div>
|
||||
@@ -23,6 +25,7 @@ import HostActionLogModal from "./HostActionLogModal.vue";
|
||||
import {
|
||||
closeHostRemoteActionLog,
|
||||
hostRemoteActionLogs,
|
||||
syncHostRemoteActionJobFinished,
|
||||
toggleHostRemoteActionLog,
|
||||
} from "../composables/useHostRemoteAction";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user