mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-16 00:12:33 +08:00
Set the default reboot location to be the Menu Bar Top Icon
This commit is contained in:
parent
874c98c7f0
commit
985a764705
@ -826,7 +826,7 @@ export class ComfyUI {
|
|||||||
name: "Change Reboot Server Button Location",
|
name: "Change Reboot Server Button Location",
|
||||||
type: "combo",
|
type: "combo",
|
||||||
options: ['Menu Bar Top Icon', 'Small Button', 'Main Menu'],
|
options: ['Menu Bar Top Icon', 'Small Button', 'Main Menu'],
|
||||||
defaultValue: 'Main Menu',
|
defaultValue: 'Menu Bar Top Icon',
|
||||||
onChange: (value) => {
|
onChange: (value) => {
|
||||||
if( value == 'Menu Bar Top Icon') {
|
if( value == 'Menu Bar Top Icon') {
|
||||||
document.querySelector('#comfy-reboot-server-icon').style.display = ""
|
document.querySelector('#comfy-reboot-server-icon').style.display = ""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user