mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-22 15:54:09 +00:00
Add logging setting display name (#742)
This commit is contained in:
@@ -276,11 +276,11 @@ export class ComfyLogging {
|
||||
}
|
||||
|
||||
addSetting() {
|
||||
const settingId: string = 'Comfy.Logging.Enabled'
|
||||
const settingId = 'Comfy.Logging.Enabled'
|
||||
const htmlSettingId = settingId.replaceAll('.', '-')
|
||||
const setting = this.app.ui.settings.addSetting({
|
||||
id: settingId,
|
||||
name: settingId,
|
||||
name: 'Enable logging',
|
||||
defaultValue: true,
|
||||
onChange: (value) => {
|
||||
this.enabled = value
|
||||
|
||||
Reference in New Issue
Block a user