From 829784fa50674d61e9ab02d101130342cf726036 Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Sat, 1 Feb 2025 16:16:37 -0800 Subject: [PATCH] Fix conditional for switch ComfyUI. --- js/comfyui-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index f93f3c90..6d0bfdbc 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -829,7 +829,7 @@ class ManagerMenuDialog extends ComfyDialog { type: "button", textContent: "Switch ComfyUI", style: { - display: !isElectron ? 'none' : 'block' + display: isElectron ? 'none' : 'block' }, onclick: () => switchComfyUI()