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",
textContent: "Switch ComfyUI",
style: {
display: !isElectron ? 'none' : 'block'
display: isElectron ? 'none' : 'block'
},
onclick:
() => switchComfyUI()