Fix conditional for switch ComfyUI.
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user