Fix conditional for switch ComfyUI.

This commit is contained in:
Robin Huang 2025-02-01 16:16:37 -08:00
parent 3c45f8dc91
commit 829784fa50

View File

@ -829,7 +829,7 @@ class ManagerMenuDialog extends ComfyDialog {
type: "button", type: "button",
textContent: "Switch ComfyUI", textContent: "Switch ComfyUI",
style: { style: {
display: !isElectron ? 'none' : 'block' display: isElectron ? 'none' : 'block'
}, },
onclick: onclick:
() => switchComfyUI() () => switchComfyUI()