From d0b8efc796744fe80bcc22f61a011cc633991e01 Mon Sep 17 00:00:00 2001 From: w940853815 <940853815@qq.com> Date: Tue, 18 Mar 2025 16:47:28 +0800 Subject: [PATCH] fix: update remote_present status on delete_remote command --- .../Table/TableFormatters/DiscoverConfirmFormatter.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Table/TableFormatters/DiscoverConfirmFormatter.vue b/src/components/Table/TableFormatters/DiscoverConfirmFormatter.vue index ba31581f8..a8c4822ba 100644 --- a/src/components/Table/TableFormatters/DiscoverConfirmFormatter.vue +++ b/src/components/Table/TableFormatters/DiscoverConfirmFormatter.vue @@ -103,6 +103,9 @@ export default { if (cmd === 'ignore') { this.row.status = { 'value': statusMap.ignored } } + if (cmd === 'delete_remote') { + this.row.remote_present = false + } this.row.status = { 'value': statusMap.confirmed } }).finally(() => { setTimeout(() => {