Skip to content

Commit

Permalink
Add logging setting display name (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-byrne authored Sep 5, 2024
1 parent 720e7e1 commit 743683c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 743683c

Please sign in to comment.