fix: hide native discovery editor immediately on target change

This commit is contained in:
VAIO73
2026-10-17 11:27:16 +00:00
parent e89f2596b2
commit bbe811e873
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1348,7 +1348,7 @@ export function LxcAppPanel({ vmid, ctIp, onChange, managed, initialData, oci }:
}
// ── Editor ─────────────────────────────────────────────────────
if (editing) {
if (editorOpen && editing) {
const draft = editing.draft
const method = draft.installed_via || ""
const isPackaged = method === "dpkg" || method === "apk"