mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 10:02:28 +08:00
Fix conditional for switch ComfyUI.
This commit is contained in:
parent
3c45f8dc91
commit
829784fa50
@ -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()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user