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