Set the default reboot location to be the Menu Bar Top Icon

This commit is contained in:
ThisModernDay 2023-10-22 13:12:22 -04:00
parent 874c98c7f0
commit 985a764705

View File

@ -826,7 +826,7 @@ export class ComfyUI {
name: "Change Reboot Server Button Location",
type: "combo",
options: ['Menu Bar Top Icon', 'Small Button', 'Main Menu'],
defaultValue: 'Main Menu',
defaultValue: 'Menu Bar Top Icon',
onChange: (value) => {
if( value == 'Menu Bar Top Icon') {
document.querySelector('#comfy-reboot-server-icon').style.display = ""